[jboss-jira] [JBoss JIRA] (ELY-800) Elytron ExternalSaslServerFactory.createSaslServer should return null for unsupported policies

Josef Cacek (JIRA) issues at jboss.org
Mon Nov 28 11:05:01 EST 2016


Josef Cacek created ELY-800:
-------------------------------

             Summary: Elytron ExternalSaslServerFactory.createSaslServer should return null for unsupported policies
                 Key: ELY-800
                 URL: https://issues.jboss.org/browse/ELY-800
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Josef Cacek
            Assignee: Darran Lofthouse


The {{ExternalSaslServerFactory.createSaslServer(String, String, String, Map<String, ?>, CallbackHandler)}} method returns an instance even for properties, for which {{getMechanismNames()}} returns empty array of names.

The {{ExternalSaslServer}} instances should only be created if the mechanism is supported for given properties (configuration).



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list