Package org.wildfly.security.sasl.util
Class ChannelBindingSaslClientFactory
java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
org.wildfly.security.sasl.util.ChannelBindingSaslClientFactory
- All Implemented Interfaces:
SaslClientFactory
A
SaslClientFactory which establishes channel binding parameters.- Author:
- David M. Lloyd
-
Field Summary
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegate -
Constructor Summary
ConstructorsConstructorDescriptionChannelBindingSaslClientFactory(SaslClientFactory delegate, String bindingType, byte[] bindingData) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected intPerform the calculation of the hash code of this factory.createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) booleanbooleanbooleanMethods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegatesThrough, getMechanismNames, hashCode, toString
-
Constructor Details
-
ChannelBindingSaslClientFactory
public ChannelBindingSaslClientFactory(SaslClientFactory delegate, String bindingType, byte[] bindingData) Construct a new instance.- Parameters:
delegate- the delegate SASL client factorybindingType- the binding type to usebindingData- the binding data
-
-
Method Details
-
createSaslClient
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException- Specified by:
createSaslClientin interfaceSaslClientFactory- Overrides:
createSaslClientin classAbstractDelegatingSaslClientFactory- Throws:
SaslException
-
equals
- Overrides:
equalsin classAbstractDelegatingSaslClientFactory
-
equals
- Overrides:
equalsin classAbstractDelegatingSaslClientFactory
-
equals
-
calculateHashCode
protected int calculateHashCode()Description copied from class:AbstractDelegatingSaslClientFactoryPerform the calculation of the hash code of this factory.- Overrides:
calculateHashCodein classAbstractDelegatingSaslClientFactory- Returns:
- the calculated hash code
-