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 Constructor Description GssapiClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslClientcreateSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)protected booleanisActiveSusceptible()Determine whether the mechanism is susceptible to active attack.protected booleanisAnonymous()Determine whether the algorithm is anonymous.protected booleanisPassCredentials()Determine whether the mechanism passes client credentials.protected booleanisPlainText()Determine whether the algorithm employs plain text.-
Methods inherited from class org.wildfly.security.sasl.util.AbstractSaslFactory
getMechanismNames, getPropertyValue, isDictionarySusceptible, isForwardSecrecy, isIncluded, matches
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.sasl.SaslClientFactory
getMechanismNames
-
-
-
-
Method Detail
-
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)
-
-