[jboss-jira] [JBoss JIRA] (ELY-575) NPE in AbstractMechanismAuthenticationFactory

David Lloyd (JIRA) issues at jboss.org
Thu Jun 16 15:04:00 EDT 2016


     [ https://issues.jboss.org/browse/ELY-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved ELY-575.
-----------------------------
    Resolution: Done


> NPE in AbstractMechanismAuthenticationFactory
> ---------------------------------------------
>
>                 Key: ELY-575
>                 URL: https://issues.jboss.org/browse/ELY-575
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Authentication Mechanisms, SASL
>            Reporter: David Lloyd
>            Assignee: David Lloyd
>
> The SaslAuthenticationFactory sublcass of AbstractMechanismAuthenticationFactory is using org.wildfly.security.sasl.util.SaslMechanismInformation#getSupportedServerCredentialTypes() to determine what credentials are available.  But, that method returns null if nothing is known about that mechanism name.  AbstractMechanismAuthenticationFactory doesn't check for null in the returned collection, and so NPE results which is uncaught and can cause hangs and other problems.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list