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
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
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