Package org.wildfly.security.sasl.gssapi
Class GssapiServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractSaslFactory
-
- org.wildfly.security.sasl.gssapi.GssapiServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
@MetaInfServices(javax.security.sasl.SaslServerFactory.class) public class GssapiServerFactory extends AbstractSaslFactory implements SaslServerFactory
SaslServerFactory for the GSSAPI mechanism as defined by RFC 4752- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description GssapiServerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServercreateSaslServer(String mechanism, 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.SaslServerFactory
getMechanismNames
-
-
-
-
Method Detail
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslServerin interfaceSaslServerFactory- 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)
-
-