public class PlainServerFactory extends AbstractSaslFactory implements SaslServerFactory
Modifier and Type | Field and Description |
---|---|
static String |
PLAIN
The PLAIN mechanism name
|
Modifier | Constructor and Description |
---|---|
|
PlainServerFactory()
Default constructor.
|
protected |
PlainServerFactory(String name)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
protected boolean |
isAnonymous()
Determine whether the algorithm is anonymous.
|
getMechanismNames, getPropertyValue, isActiveSusceptible, isDictionarySusceptible, isForwardSecrecy, isIncluded, isPassCredentials, isPlainText, matches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMechanismNames
public static final String PLAIN
public PlainServerFactory()
protected PlainServerFactory(String name)
name
- the mechanism namepublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
SaslException
protected boolean isAnonymous()
AbstractSaslFactory
isAnonymous
in class AbstractSaslFactory
true
if it is (default is true
)Copyright © 2018 JBoss by Red Hat. All rights reserved.