[jboss-jira] [JBoss JIRA] (ELY-257) Allow usage of properties to configure sasl server factories
Kabir Khan (JIRA)
issues at jboss.org
Thu Aug 6 03:57:02 EDT 2015
Kabir Khan created ELY-257:
------------------------------
Summary: Allow usage of properties to configure sasl server factories
Key: ELY-257
URL: https://issues.jboss.org/browse/ELY-257
Project: WildFly Elytron
Issue Type: Feature Request
Components: SASL
Reporter: Kabir Khan
Assignee: Darran Lofthouse
Fix For: 1.0.0.Alpha5
There is some discussion on https://github.com/wildfly-security/wildfly-elytron/pull/264. In this case the issue is that we have a ChannelBindingSaslServerFactory (and same for client) which provides a callback handler to deal with the channel binding callbacks needed by Gs2SaslServerFactory and Gs2SaslClientFactory. This is fine for when people create their own SaslServerFactory, and use that to create a SaslServer.
However, if they want to call Sasl.createServer()/.createClient() they need to provide their own callback handler to deal with the channel binding types.
One option would be to allow the usage of properties for this configuration needed by the factories.
However, having slept on it, the callback handler passed in to Sasl.createXXX() would need to handle all callbacks. Is there a way to get the 'real' callback for the user? Or is the intent that they have to write their own?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list