[jboss-user] [Security JAAS/JBoss] - Re: LDAP and JBoss

2008-03-07 Thread rukh
Sorry for the post under a post, but editing is not permitted here.. I've created a simple application that uses a single class with main method and created there an LdapContext and unfortunately on failed login it also pops by 2... guess I have some LDAP server configuration bug, but I cant

[jboss-user] [Security JAAS/JBoss] - Re: LDAP and JBoss

2008-03-06 Thread rukh
thanks for the reply :) my login-config.xml looks like this (excluding the standard policies that were there when I set up the server) anonymous wrote : | application-policy name=authPolicy | | login-module code=com.caern.authentication.SecurityLoginModule

[jboss-user] [Security JAAS/JBoss] - Re: LDAP and JBoss

2008-03-05 Thread tool
Just a thought, but what does your login-config.xml file look like? If you had two LDAP login-modules defined for your application policy, with the first one flagged as sufficient, then this behavior you describe would make sense. There would be two failed logins and only one successful one and