]
Yeray Borges moved WFCORE-2459 to ELY-1229:
-------------------------------------------
Project: WildFly Elytron (was: WildFly Core)
Key: ELY-1229 (was: WFCORE-2459)
Component/s: (was: Security)
Missing log that authetication failed in Elytron LdapRealm
----------------------------------------------------------
Key: ELY-1229
URL:
https://issues.jboss.org/browse/ELY-1229
Project: WildFly Elytron
Issue Type: Bug
Reporter: Ondrej Lukas
Assignee: Yeray Borges
In case when wrong password is passed during authentication through LdapRealm then server
log does not include information that 'authentication failed'.
Following log occurs in server.log:
{code}
2017-02-20 13:16:41,482 DEBUG [org.wildfly.security] (default task-2) Trying to create
identity for principal [jduke].
2017-02-20 13:16:41,483 DEBUG [org.wildfly.security] (default task-2) Executing search
[(uid={0})] in context [ou=People,dc=jboss,dc=org] with arguments
[[Ljava.lang.String;@3e8a4972]. Returning attributes are [[userPassword]]. Binary
attributes are [[]].
2017-02-20 13:16:41,491 DEBUG [org.wildfly.security] (default task-2) Found entry
[uid=jduke,ou=People,dc=jboss,dc=org].
2017-02-20 13:16:41,493 DEBUG [org.wildfly.security] (default task-2) Identity for
principal [jduke] found at [uid=jduke,ou=People,dc=jboss,dc=org].
2017-02-20 13:16:41,504 DEBUG [org.wildfly.security] (default task-2) Context
[javax.naming.ldap.InitialLdapContext@3db0aa06] was closed. Connection closed or just
returned to the pool.
2017-02-20 13:16:41,506 DEBUG [org.wildfly.security] (default task-2) User jduke
authorization failed.
2017-02-20 13:16:41,506 TRACE [org.wildfly.security] (default task-2) Handling
AuthenticationCompleteCallback: fail
{code}