Package org.wildfly.security.sasl.util
Class PropertiesSaslClientFactory
java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
org.wildfly.security.sasl.util.PropertiesSaslClientFactory
- All Implemented Interfaces:
SaslClientFactory
A
SaslClientFactory that allows properties to be added to a delegate SaslClientFactory.- Author:
- Kabir Khan
-
Field Summary
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegate -
Constructor Summary
ConstructorsConstructorDescriptionPropertiesSaslClientFactory(SaslClientFactory delegate, Map<String, ?> properties) Constructor -
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) booleanbooleanbooleanString[]getMechanismNames(Map<String, ?> props) Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegatesThrough, hashCode, toString
-
Constructor Details
-
PropertiesSaslClientFactory
Constructor- Parameters:
delegate- the underlyingSaslClientFactoryproperties- the properties
-
-
Method Details
-
getMechanismNames
- Specified by:
getMechanismNamesin interfaceSaslClientFactory- Overrides:
getMechanismNamesin classAbstractDelegatingSaslClientFactory
-
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
-