Sprint 1.5 - raisercostin/software-wiki GitHub Wiki

Sprint 5

  • install ForgeRock OpenIDM from
  • connect to ForgeRock OpenIDM
  • 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'