[
https://issues.jboss.org/browse/ELY-1321?page=com.atlassian.jira.plugin.s...
]
Jan Kalina updated ELY-1321:
----------------------------
Description:
There is missing null check in LdapSecurityRealm.closeContext [1] which can result to
NPE.
[1]
https://github.com/wildfly-security/wildfly-elytron/blob/001e69270ddb6d27...
{code}
ERROR [io.undertow.request] (default task-58) UT005023: Exception handling request to
/LdapPerformance/protected/SimpleSecuredServlet: java.lang.NullPointerException
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm.closeContext(LdapSecurityRealm.java:221)
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm.access$500(LdapSecurityRealm.java:102)
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm$LdapRealmIdentity.getAttributes(LdapSecurityRealm.java:543)
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm$LdapRealmIdentity.getAuthorizationIdentity(LdapSecurityRealm.java:501)
{code}
was:
There is missing null check in LdapSecurityRealm.closeContext [1] which can result to
NPE.
[1]
https://github.com/wildfly-security/wildfly-elytron/blob/001e69270ddb6d27...
Possible NPE in LdapSecurityRealm.closeContext
----------------------------------------------
Key: ELY-1321
URL:
https://issues.jboss.org/browse/ELY-1321
Project: WildFly Elytron
Issue Type: Bug
Components: Realms
Affects Versions: 1.1.0.CR4
Reporter: Jan Kalina
Assignee: Jan Kalina
Priority: Critical
There is missing null check in LdapSecurityRealm.closeContext [1] which can result to
NPE.
[1]
https://github.com/wildfly-security/wildfly-elytron/blob/001e69270ddb6d27...
{code}
ERROR [io.undertow.request] (default task-58) UT005023: Exception handling request to
/LdapPerformance/protected/SimpleSecuredServlet: java.lang.NullPointerException
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm.closeContext(LdapSecurityRealm.java:221)
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm.access$500(LdapSecurityRealm.java:102)
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm$LdapRealmIdentity.getAttributes(LdapSecurityRealm.java:543)
at
org.wildfly.security.auth.realm.ldap.LdapSecurityRealm$LdapRealmIdentity.getAuthorizationIdentity(LdapSecurityRealm.java:501)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)