Hi all,
I'm trying to replace JaasServerLoginModule with LdapLoginModule.
I got the Ldap bits works fine and I can see the principal and roles have
been populated with the data from Ldap.
However, the Jboss server complaints that the "principal=null"
I suspect that I did something wrong with security setting on jboss server.
I put the login config (as shown below) in auth.conf in both client side
(${jboss_home}/dist/client/) and server side
(${jboss_home}/dist/conf/default/) replacing the "other" login config
testLdap {
org.jboss.security.plugins.samples.LdapLoginModule required
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
principalDNPrefix=uid=
uidAttributeID=userid
roleAttributeID=rolenames
principalDNSuffix=,ou=People,o=displayscape.com
rolesCtxDN=ou=Users,cn=Project1,ou=Projects,o=displayscape.com
java.naming.provider.url=ldap://siren-int/
java.naming.security.authentication=simple
};
Please corerct me if I am wrong! and what other setting should I change to
get the LdapLogin Module work in jboss server?
thanks,
kadir
NOTICE: The information contained in this electronic mail message and any
attachments is confidential to Pavilion Technologies, Inc. or one of its
subsidiaries and may contain proprietary information or be legally
privileged. This message and any attachments are intended only for the
personal and confidential use of the designated recipient(s). If you are not
the intended recipient or an agent responsible for delivering it to the
intended recipient, you are hereby notified that you have recieved this
message in error, and that any review, dissemination, distribution or
copying of this message and any attachments is unauthorized and strictly
prohibited. If you have received this message in error, please notify me
immediately by telephone and electronic mail, and delete this message, any
attachments, and all copies thereof. Thank you very much
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user