Sprint 1.5 - raisercostin/software-wiki GitHub Wiki
Sprint 5
- install ForgeRock OpenIDM from
- download after registration - https://www.forgerock.com/downloads/download-openidm-trial-downloading/
- how to install - https://backstage.forgerock.com/docs/idm/5/install-guide
- start local ForgeRock server
cd openidm startup.bat
- connect to ForgeRock OpenIDM
- private network instance at
http://dcs-xps:8080
with default user:openidm-admin
default pass:openidm-admin
- manually
- programatically - http://dcs-xps:8080/admin/#apiExplorer
- local instance at http://localhost:8080
- manually
- programatically - http://localhost:8080/admin/#apiExplorer
- secure local instance at https://localhost:8443
- manually
- programatically - https://localhost:8443/admin/#apiExplorer
- private network instance at
- use curl to list all the users
- windows
curl -X GET ^ --header 'Accept: application/json' ^ --header 'X-Requested-With: Swagger-UI' ^ --header "X-OpenIDM-Username: openidm-admin" ^ --header "X-OpenIDM-Password: openidm-admin" ^ "http://dcs-xps:8080/openidm/managed/user?_prettyPrint=true&_queryId=query-all"
- linux/OSX
curl -X GET \ --header 'Accept: application/json' \ --header 'X-Requested-With: Swagger-UI' \ --header "X-OpenIDM-Username: openidm-admin" \ --header "X-OpenIDM-Password: openidm-admin" \ "http://dcs-xps:8080/openidm/managed/user?_prettyPrint=true&_queryId=query-all"
- create user
- linux/OSX
curl -X PUT \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'If-None-Match: *' \ --header 'X-Requested-With: Swagger-UI' \ --header "X-OpenIDM-Username: openidm-admin" \ --header "X-OpenIDM-Password: openidm-admin" \ -d '{ "_id": "3242", "mail": "[email protected]", "userName": "PUTstefan", "sn": "sn3242", "givenName": "PUTstefan2name" }' 'http://10.3.67.68:8080/openidm/managed/user/105'
- windows
curl -X PUT ^ --header 'Content-Type: application/json' ^ --header 'Accept: application/json' ^ --header 'If-None-Match: *' ^ --header "X-OpenIDM-Username: openidm-admin" ^ --header "X-OpenIDM-Password: openidm-admin" ^ --header 'X-Requested-With: Swagger-UI' ^ -d '{ ^ "_id": "204", ^ "mail": "[email protected]", ^ "userName": "costin4", ^ "sn": "sn204", ^ "givenName": "costin4name" ^ }' ^ 'http://dcs-xps:8080/openidm/managed/user/204'