I’ve integrated microsoft active directory as user directory in confluence. Now let’s say I receive following ldap info in java variables given on left:
username : sAMACCOUNTNAME
principal name: userPrincipalName
email: mail
How should I access user based on ldap attributes. Is there any userAccessor like interface for ldap?
A little insight:
I’m trying to implement SSO using microsoft active directory as user directory. So my IdP sends some value in SAML response, I catch that in userPrincipalName. Then I want to search for that userPrincipalName in the AD to get the username of that user and log him in.