[jboss-jira] [JBoss JIRA] (ELY-800) Elytron ExternalSaslServerFactory.createSaslServer should return null for unsupported policies
Josef Cacek (JIRA)
issues at jboss.org
Wed Nov 30 12:27:03 EST 2016
[ https://issues.jboss.org/browse/ELY-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13331745#comment-13331745 ]
Josef Cacek commented on ELY-800:
---------------------------------
The same is valid for the {{ExternalSaslClientFactory}}. Fix it in both implementations, please.
> 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