Sending encrypted Password During Self Registration

This topic contains 1 voice and has 0 replies.

  • Author
    Posts
  • #16243
     buddhadeb.das 
    Participant

    Hi All,

    We are using OpenAM 13.0 in our project and leveraging the Self Registration REST Apis to create user in the user store(OpenDJ).One of the Requirement is to send the password in encrypted format.OOTB OpenAM REST service expects the Password in Plain Text.Can we change it somehow. Kindly advise how we can go about customizing the self service flow to accept password in ecrypted format and Decrypt it before storing it in OpenDJ
    Example :-
    $ curl \
    –request POST \
    –header “Content-Type: application/json” \
    –data \
    ‘{
    “input”: {
    “user”: {
    “username”: “demo”,
    “givenName”: “Demo User”,
    “sn”: “User”,
    “userPassword”: “xxxxxxxxx”, >>>Encrypted Password
    “inetUserStatus”: “Active”
    }
    },
    “token”: “eyAicHis…PIF-lN4s”
    }’ \
    https://openam.example.com:8443/openam/json/selfservice/userRegistration
    ?_action=submitRequirements

    OpenAM Should Decrypt the password before creating the user in OpenDJ.

    Kindly let me know if you need more details to comment.

    Thanks,
    Buddhadeb

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?