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
How should I access user based on ldap attributes. Is there any userAccessor like interface for ldap?
What are you trying to accomplish? Your question is rather difficult to uderstand when you partly try to answer your own question.
If you are building an add-on then perhaps https://community.developer.atlassian.com is the best place to ask.
Our Single Sign-on add-on has the ability to use the client kerberos ticket, extract the userPrincipalName and based on your settings in the user directory find the email attribute of the user that logs in, which may be something similar to what you are trying to do.
If you could be more specific, I might be able to answer your question :)
I'll post the question indeveloper forum as well and will try to be more specific this time. 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.
Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events