17
Open Identity Summit Open Identity Summit OpenIDM Hands-On Anders Askåsen, Product Manager [email protected] ForgeRock Inc.

Getting Started with OpenIDM

Embed Size (px)

DESCRIPTION

Presented by Anders Askasen, OpenIDM Product Manager, ForgeRock at ForgeRock Open Identity Stack Summit, June 2013

Citation preview

Page 1: Getting Started with OpenIDM

Open Identity SummitOpen Identity Summit

OpenIDM Hands-On

Anders Askåsen, Product [email protected] Inc.

Page 2: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Overview Get the OpenIDM Binaries and Install

Start/stop OpenIDM

Start OpenIDM with a sample configuration

Use the OpenIDM UI

This hand-on aims to familiarize you with the OpenIDM UI and some commonly used functionality like: create user, use self-registration and password reset.

Page 3: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Some requirements… JDK 1.6 update 24 or higher

CURL

Page 4: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Lets get the binaries first… Latest supported release:

http://go.forgerock.com/Download-OpenIDM.html

ForgeRock also provides nightly builds:

http://forgerock.org/openidm.html

Page 5: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Installation Copy the zip-archive to appropriate location and unzip

# cp openidm-2.1.zip /opt

# unzip openidm-2.1.zip

OpenIDM

Page 6: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Lets start OpenIDM$ cd /opt/openidm

$ ./startup.sh

./startup.sh

Using OPENIDM_HOME: /opt/openidm

Using OPENIDM_OPTS: -Xmx1024m

Using LOGGING_CONFIG: -Djava.util.logging.config.file=/opt/openidm/conf/logging.properties

Using boot properties at /usr/local/openidm/conf/boot/boot.properties

OpenIDM version "2.1.0" (revision: 1952)

-> OpenIDM ready

Page 7: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Self-registration & Passwd Reset Point your browser to the OpenIDM end user dashboard:

http://localhost:8080/openidmui

Edit /opt/openidm/conf/ui-configuration.json and turn on:

"selfRegistration" : true,

"securityQuestions" : true,

Refresh browser!

Page 8: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Try out the Administrative UI

Point your browser to the OpenIDM end user dashboard:http://localhost:8080/openidmui

Login with user: openidm-admin and password: openidm-admin

Create a user

Page 9: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Lets stop OpenIDM To stop OpenIDM go to the terminal window where it was started

and where the Felix console prompt should be. Stop OpenIDM with the “shutdown command as follows:

->

-> OpenIDM ready

shutdown

->

Page 10: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Start with a sample… $ cd /opt/openidm

$ ./startup.sh -p samples/workflow

./startup.sh

Using OPENIDM_HOME: /usr/local/openidm

Using OPENIDM_OPTS: -Xmx1024m

Using LOGGING_CONFIG: -Djava.util.logging.config.file=/usr/local/openidm/conf/logging.properties

Using boot properties at /opt/openidm/conf/boot/boot.properties

Using boot properties at /opt/openidm/samples/workflow/conf/boot/boot.properties

OpenIDM version "2.1.0" (revision: 1952)

->OpenIDM ready

Page 11: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Sample overview

XML File

Page 12: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Reconcile with XML-File Lets study /opt/openidm/sample/workflow/conf/sync.json

curl -u "openidm-admin:openidm-admin" -X POST "http://localhost:8080/openidm/recon?_action=recon&mapping=systemXmlfileAccounts_managedUser"

Page 13: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Request create contractor Start a request to create a contractor as an employee

Log in to OpenIDM as a regular employee and apply for the creation of a new account for one of your contractors.

Now log in to the OpenIDM UI at the URL:

http://localhost:8080/openidmui/index.html#login/

Use:

Login: user1

Password: Welcome1

Page 14: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Approval as a manager Now log in to the OpenIDM UI at the URL:

http://localhost:8080/openidmui/index.html#login/

Use:

Login: manager1

Password: Welcome1

Assign approval to manager1 and accept the contractor!

Page 15: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Test the contractor.. Now log in to the OpenIDM UI at the URL:

http://localhost:8080/openidmui/index.html#login/

Use:

Login: <your selected contractor name>

Password: <your password>

Page 16: Getting Started with OpenIDM

Open Identity Summit Change to Partner logo/presenter

Some additional resources… Join the OpenIDM community mailing list!

http://openidm.forgerock.org

Try out the various samples found in the /samples directory! The provides valuable solutions to various use-cases!

Page 17: Getting Started with OpenIDM

Q & AQ & A