Package org.wildfly.security.sasl.util
Class SetMechanismInformationSaslServerFactory
- java.lang.Object
 - 
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
 - 
- org.wildfly.security.sasl.util.SetMechanismInformationSaslServerFactory
 
 
 
- 
- All Implemented Interfaces:
 SaslServerFactory
public final class SetMechanismInformationSaslServerFactory extends AbstractDelegatingSaslServerFactory
ASaslServerFactoryimplementation that will always ensure mechanism information is passed to theCallbackHandlerbefore the first authentication callbacks.- Author:
 - Darran Lofthouse
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegate 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SetMechanismInformationSaslServerFactory(SaslServerFactory delegate)Construct a new instance of theSetMechanismInformationSaslServerFactory. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServercreateSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)- 
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegatesThrough, getMechanismNames, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SetMechanismInformationSaslServerFactory
public SetMechanismInformationSaslServerFactory(SaslServerFactory delegate)
Construct a new instance of theSetMechanismInformationSaslServerFactory.- Parameters:
 delegate- theSaslServerFactorybeing delegated to.
 
 - 
 
- 
Method Detail
- 
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
 createSaslServerin interfaceSaslServerFactory- Overrides:
 createSaslServerin classAbstractDelegatingSaslServerFactory- Throws:
 SaslException
 
 - 
 
 -