Package org.wildfly.security.sasl.gssapi
Class GssapiClientFactory
java.lang.Object
org.wildfly.security.sasl.util.AbstractSaslFactory
org.wildfly.security.sasl.gssapi.GssapiClientFactory
- All Implemented Interfaces:
SaslClientFactory
@MetaInfServices(javax.security.sasl.SaslClientFactory.class)
public class GssapiClientFactory
extends AbstractSaslFactory
implements SaslClientFactory
SaslClientFactory for the GSSAPI mechanism as defined by RFC 4752
- Author:
- Darran Lofthouse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) protected booleanDetermine whether the mechanism is susceptible to active attack.protected booleanDetermine whether the algorithm is anonymous.protected booleanDetermine whether the mechanism passes client credentials.protected booleanDetermine whether the algorithm employs plain text.Methods inherited from class org.wildfly.security.sasl.util.AbstractSaslFactory
getMechanismNames, getPropertyValue, isDictionarySusceptible, isForwardSecrecy, isIncluded, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.security.sasl.SaslClientFactory
getMechanismNames
-
Constructor Details
-
GssapiClientFactory
public GssapiClientFactory()
-
-
Method Details
-
createSaslClient
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException- Specified by:
createSaslClientin interfaceSaslClientFactory- Throws:
SaslException
-
isPassCredentials
protected boolean isPassCredentials()Description copied from class:AbstractSaslFactoryDetermine whether the mechanism passes client credentials.- Overrides:
isPassCredentialsin classAbstractSaslFactory- Returns:
trueif it does (default isfalse)
-
isActiveSusceptible
protected boolean isActiveSusceptible()Description copied from class:AbstractSaslFactoryDetermine whether the mechanism is susceptible to active attack.- Overrides:
isActiveSusceptiblein classAbstractSaslFactory- Returns:
trueif it is (default istrue)
-
isPlainText
protected boolean isPlainText()Description copied from class:AbstractSaslFactoryDetermine whether the algorithm employs plain text.- Overrides:
isPlainTextin classAbstractSaslFactory- Returns:
trueif it does so (default istrue)
-
isAnonymous
protected boolean isAnonymous()Description copied from class:AbstractSaslFactoryDetermine whether the algorithm is anonymous.- Overrides:
isAnonymousin classAbstractSaslFactory- Returns:
trueif it is (default istrue)
-