Class AnonymousServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractSaslFactory
-
- org.wildfly.security.sasl.anonymous.AbstractAnonymousFactory
-
- org.wildfly.security.sasl.anonymous.AnonymousServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
@MetaInfServices(javax.security.sasl.SaslServerFactory.class) public class AnonymousServerFactory extends AbstractAnonymousFactory implements SaslServerFactory
The server factory for the anonymous SASL mechanism.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description AnonymousServerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServer
createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
String[]
getMechanismNames(Map<String,?> props)
Get the mechanism names matching the given properties.-
Methods inherited from class org.wildfly.security.sasl.anonymous.AbstractAnonymousFactory
isDictionarySusceptible, isPlainText
-
Methods inherited from class org.wildfly.security.sasl.util.AbstractSaslFactory
getPropertyValue, isActiveSusceptible, isAnonymous, isForwardSecrecy, isIncluded, isPassCredentials, matches
-
-
-
-
Method Detail
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
Description copied from class:AbstractSaslFactory
Get the mechanism names matching the given properties.- Specified by:
getMechanismNames
in interfaceSaslServerFactory
- Overrides:
getMechanismNames
in classAbstractSaslFactory
- Parameters:
props
- the properties- Returns:
- the mechanism names
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslServer
in interfaceSaslServerFactory
- Throws:
SaslException
-
-