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

David Lloyd (JIRA) issues at jboss.org
Wed Jun 15 13:53:00 EDT 2016


David Lloyd created ELY-575:
-------------------------------

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