
public final class AuthenticationContextSaslClientFactory extends AbstractDelegatingSaslClientFactory
SaslClientFactory which establishes a specific AuthenticationContext for the duration
of the authentication process.delegate| Constructor and Description |
|---|
AuthenticationContextSaslClientFactory(SaslClientFactory delegate)
Construct a new instance.
|
AuthenticationContextSaslClientFactory(SaslClientFactory delegate,
AuthenticationContext context)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
calculateHashCode()
Perform the calculation of the hash code of this factory.
|
SaslClient |
createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
boolean |
equals(AbstractDelegatingSaslClientFactory other) |
boolean |
equals(AuthenticationContextSaslClientFactory other) |
boolean |
equals(Object other) |
delegatesThrough, getMechanismNames, hashCode, toStringpublic AuthenticationContextSaslClientFactory(SaslClientFactory delegate)
delegate - the delegate SASL client factorypublic AuthenticationContextSaslClientFactory(SaslClientFactory delegate, AuthenticationContext context)
delegate - the delegate SASL client factorycontext - the authentication context to usepublic SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient in interface SaslClientFactorycreateSaslClient in class AbstractDelegatingSaslClientFactorySaslExceptionpublic boolean equals(Object other)
equals in class AbstractDelegatingSaslClientFactorypublic boolean equals(AbstractDelegatingSaslClientFactory other)
equals in class AbstractDelegatingSaslClientFactorypublic boolean equals(AuthenticationContextSaslClientFactory other)
protected int calculateHashCode()
AbstractDelegatingSaslClientFactorycalculateHashCode in class AbstractDelegatingSaslClientFactoryCopyright © 2020 JBoss by Red Hat. All rights reserved.