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, toString
public 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 SaslClientFactory
createSaslClient
in class AbstractDelegatingSaslClientFactory
SaslException
public boolean equals(Object other)
equals
in class AbstractDelegatingSaslClientFactory
public boolean equals(AbstractDelegatingSaslClientFactory other)
equals
in class AbstractDelegatingSaslClientFactory
public boolean equals(AuthenticationContextSaslClientFactory other)
protected int calculateHashCode()
AbstractDelegatingSaslClientFactory
calculateHashCode
in class AbstractDelegatingSaslClientFactory
Copyright © 2020 JBoss by Red Hat. All rights reserved.