Ondrej Lukas created WFLY-8165:
----------------------------------
Summary: Missing log that authetication failed in Elytron LdapRealm
Key: WFLY-8165
URL:
https://issues.jboss.org/browse/WFLY-8165
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
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}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)