Use entryUUID to Search User From Custom Auth Node

This topic has 1 reply, 2 voices, and was last updated 4 months, 1 week ago by Scott Heger.

  • Author
    Posts
  • #28406
     ambadas.adam
    Participant

    Hi All,

    In a custom authentication tree, I am using a custom authentication node.
    In this custom auth node, I am using IdUtils.getIdentitiesByAlias() method to search user with specific attribute. I am unable to find user using “entryUUID” as search attribute. Even though entryUUID is visible “operational attribute”, I cannot find user using this attribute.

    Within the Custom Authentication Node is there any utility, class, method or option to search for user using entryUUID?
    Or, do I need to write code to connect to LDAP server and fetch user based on entryUUID using custom code?

    • This topic was modified 4 months, 1 week ago by ambadas.adam.
    #28408
     Scott Heger
    Participant

    Per https://backstage.forgerock.com/docs/am/6.5/auth-nodes/#accessing-user-profile, try using:

    IdUtils.getIdentity(username, realm, realmAliasAttrs);

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2021 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?