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
public final class ChannelBindingSaslClientFactory extends AbstractDelegatingSaslClientFactory
ASaslClientFactorywhich establishes channel binding parameters.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]bindingDataprivate StringbindingType-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegate
-
-
Constructor Summary
Constructors Constructor Description ChannelBindingSaslClientFactory(SaslClientFactory delegate, String bindingType, byte[] bindingData)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcalculateHashCode()Perform the calculation of the hash code of this factory.SaslClientcreateSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)booleanequals(Object other)booleanequals(AbstractDelegatingSaslClientFactory other)booleanequals(ChannelBindingSaslClientFactory other)-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegatesThrough, delegatesThroughNN, getMechanismNames, hashCode, toString
-
-
-
-
Field Detail
-
bindingType
private final String bindingType
-
bindingData
private final byte[] bindingData
-
-
Constructor Detail
-
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 Detail
-
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
public boolean equals(Object other)
- Overrides:
equalsin classAbstractDelegatingSaslClientFactory
-
equals
public boolean equals(AbstractDelegatingSaslClientFactory other)
- Overrides:
equalsin classAbstractDelegatingSaslClientFactory
-
equals
public boolean equals(ChannelBindingSaslClientFactory other)
-
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
-
-