This discussion is archived
0 Replies Latest reply: Apr 14, 2013 5:22 AM by 1002946 RSS

Constructing User DN using principal name

1002946 Newbie
Currently Being Moderated
Our application needs to construct User DN after successful authentication for authorization.Currently what application has is user principal name.

User principal name is of format: Userame@RealmName And user DN is of the form
cn=<Username>,cn=Users,cn=<DomainName>,cn=com

As Realm need not be always same as Domain name: How to get this <DomainName> using the Realm in the user name?
Any suggestions to solve this problem would be of help.

Thanks,
Dipti

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points