Package org.wildfly.security.sasl.util
Class AuthenticationContextSaslClientFactory
- java.lang.Object
 - 
- org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
 - 
- org.wildfly.security.sasl.util.AuthenticationContextSaslClientFactory
 
 
 
- 
- All Implemented Interfaces:
 SaslClientFactory
@Deprecated public final class AuthenticationContextSaslClientFactory extends AbstractDelegatingSaslClientFactory
Deprecated.UseAuthenticationContextSaslClientFactoryinstead.A delegatingSaslClientFactorywhich establishes a specificAuthenticationContextfor the duration of the authentication process.- Author:
 - David M. Lloyd
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegate 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AuthenticationContextSaslClientFactory(SaslClientFactory delegate)Deprecated.Construct a new instance.AuthenticationContextSaslClientFactory(SaslClientFactory delegate, AuthenticationContext context)Deprecated.Construct a new instance. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected intcalculateHashCode()Deprecated.Perform the calculation of the hash code of this factory.SaslClientcreateSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)Deprecated.booleanequals(Object other)Deprecated.booleanequals(AbstractDelegatingSaslClientFactory other)Deprecated.booleanequals(AuthenticationContextSaslClientFactory other)Deprecated.- 
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClientFactory
delegatesThrough, getMechanismNames, hashCode, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AuthenticationContextSaslClientFactory
public AuthenticationContextSaslClientFactory(SaslClientFactory delegate)
Deprecated.Construct a new instance.- Parameters:
 delegate- the delegate SASL client factory
 
- 
AuthenticationContextSaslClientFactory
public AuthenticationContextSaslClientFactory(SaslClientFactory delegate, AuthenticationContext context)
Deprecated.Construct a new instance.- Parameters:
 delegate- the delegate SASL client factorycontext- the authentication context to use
 
 - 
 
- 
Method Detail
- 
createSaslClient
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
Deprecated.- Specified by:
 createSaslClientin interfaceSaslClientFactory- Overrides:
 createSaslClientin classAbstractDelegatingSaslClientFactory- Throws:
 SaslException
 
- 
equals
public boolean equals(Object other)
Deprecated.- Overrides:
 equalsin classAbstractDelegatingSaslClientFactory
 
- 
equals
public boolean equals(AbstractDelegatingSaslClientFactory other)
Deprecated.- Overrides:
 equalsin classAbstractDelegatingSaslClientFactory
 
- 
equals
public boolean equals(AuthenticationContextSaslClientFactory other)
Deprecated. 
- 
calculateHashCode
protected int calculateHashCode()
Deprecated.Description copied from class:AbstractDelegatingSaslClientFactoryPerform the calculation of the hash code of this factory.- Overrides:
 calculateHashCodein classAbstractDelegatingSaslClientFactory- Returns:
 - the calculated hash code
 
 
 - 
 
 -