Package org.wildfly.security.sasl.util
Class ChannelBindingSaslServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
-
- org.wildfly.security.sasl.util.ChannelBindingSaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
public final class ChannelBindingSaslServerFactory extends AbstractDelegatingSaslServerFactory
ASaslServerFactory
which establishes channel binding parameters.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
bindingData
private String
bindingType
-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegate
-
-
Constructor Summary
Constructors Constructor Description ChannelBindingSaslServerFactory(SaslServerFactory delegate, String bindingType, byte[] bindingData)
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
-
-
-
-
Field Detail
-
bindingType
private final String bindingType
-
bindingData
private final byte[] bindingData
-
-
Constructor Detail
-
ChannelBindingSaslServerFactory
public ChannelBindingSaslServerFactory(SaslServerFactory delegate, String bindingType, byte[] bindingData)
Construct a new instance.- Parameters:
delegate
- the delegate SASL server factorybindingType
- the binding type to usebindingData
- the binding data
-
-
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
-
-