Hi,

I have successfull configured a JBoss Security Domain for IBM Lotus Domino 
using the org.jboss.security.auth.spi.LdapLoginModule.
I can authenticate to my Demo WebApp and also searching for roles 
(isUserInRole) works correct.
My question is how to map the CallerPricipal to the DN. 
My users cann login in by using a unique UserID (Shortname). But inside my 
webApp I need the full DN. But the call:

ctx.getCallerPrincipal().toString()

returns the username which the user used to login (shortname). 
I can not use:
principalDNPrefix + username + principalDNSuffix;
because the username is a EmployeeID.
For Example
The Login ID is "12345"
The DN of the Username is "CN=Ralph Soika/O=MYCOMPANY"

I need that getCallerPriciapal returns the DN not the Loginname.

Can anybody give me a hint? or is it a Problem of the LDAP configuration?

Thanks for help
Ralph


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970072#3970072

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970072
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to