Package org.wildfly.security.sasl.util
Class SecurityIdentitySaslServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
-
- org.wildfly.security.sasl.util.SecurityIdentitySaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
public final class SecurityIdentitySaslServerFactory extends AbstractDelegatingSaslServerFactory
A SASL server factory which makes the authenticatedSecurityIdentity
available to the caller.- Author:
- David M. Lloyd
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegate
-
-
Constructor Summary
Constructors Constructor Description SecurityIdentitySaslServerFactory(SaslServerFactory delegate)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServer
createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegatesThrough, delegatesThroughNN, getMechanismNames, toString
-
-
-
-
Constructor Detail
-
SecurityIdentitySaslServerFactory
public SecurityIdentitySaslServerFactory(SaslServerFactory delegate)
Construct a new instance.- Parameters:
delegate
- the delegate SASL server factory
-
-
Method Detail
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslServer
in interfaceSaslServerFactory
- Overrides:
createSaslServer
in classAbstractDelegatingSaslServerFactory
- Throws:
SaslException
-
-