org.jboss.sasl.anonymous
Class AnonymousServerFactory
java.lang.Object
org.jboss.sasl.util.AbstractSaslFactory
org.jboss.sasl.anonymous.AbstractAnonymousFactory
org.jboss.sasl.anonymous.AnonymousServerFactory
- All Implemented Interfaces:
- SaslServerFactory
public class AnonymousServerFactory
- extends AbstractAnonymousFactory
- implements SaslServerFactory
The server factory for the anonymous SASL mechanism.
- Author:
- Darran Lofthouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonymousServerFactory
public AnonymousServerFactory()
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Description copied from class:
AbstractSaslFactory
- Get the mechanism names matching the given properties.
- Specified by:
getMechanismNames
in interface SaslServerFactory
- Overrides:
getMechanismNames
in class AbstractSaslFactory
- 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 interface SaslServerFactory
- Throws:
SaslException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.