Hi all ,
I have webservices with basic authentication deployed on jboss-7.1.1 Final . Am trying to authenticate users of web services through ladp, which is successful.
Problem is that whenever i add a new user in ldap and use the same user for web services authentication, jboss fails to authenticate but if i restart jboss server, the same user will be authenticated.
Ldap configuration in standalone.xml :
<security-domain name="LdapDomain" cache-type="default">
<authentication>
<login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
<module-option name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory"/>
<module-option name="java.naming.provider.url" value="ldap://192.168.2.20:10389/"/>
<module-option name="java.naming.security.authentication" value="simple"/>
<module-option name="bindDN" value="uid=admin,ou=system"/>
<module-option name="bindCredential" value="test123"/>
<module-option name="baseCtxDN" value="ou=users,dc=example,dc=com"/>
<module-option name="baseFilter" value="(uid={0})"/>
<module-option name="rolesCtxDN" value="ou=groups,dc=example,dc=com"/>
<module-option name="roleFilter" value="(member={1})"/>
<module-option name="roleAttributeID" value="cn"/>
</login-module>
</authentication>
</security-domain>
Is there any setting in the domain configuration that i have missed??
Thanks in advance