org.apache.qpid.server.security.auth.amqplain
Class AmqPlainInitialiser

java.lang.Object
  extended by org.apache.qpid.server.security.auth.UsernamePasswordInitialiser
      extended by org.apache.qpid.server.security.auth.amqplain.AmqPlainInitialiser
All Implemented Interfaces:
AuthenticationProviderInitialiser

public class AmqPlainInitialiser
extends UsernamePasswordInitialiser


Constructor Summary
AmqPlainInitialiser()
           
 
Method Summary
 java.lang.String getMechanismName()
           
 java.lang.Class<? extends javax.security.sasl.SaslServerFactory> getServerFactoryClassForJCARegistration()
          Get the class that is the server factory.
 
Methods inherited from class org.apache.qpid.server.security.auth.UsernamePasswordInitialiser
getCallbackHandler, getProperties, initialise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmqPlainInitialiser

public AmqPlainInitialiser()
Method Detail

getMechanismName

public java.lang.String getMechanismName()
Returns:
the mechanism's name. This will be used in the list of mechanism's advertised to the client.

getServerFactoryClassForJCARegistration

public java.lang.Class<? extends javax.security.sasl.SaslServerFactory> getServerFactoryClassForJCARegistration()
Description copied from interface: AuthenticationProviderInitialiser
Get the class that is the server factory. This is used for the JCA registration.

Returns:
null if no JCA registration is required, otherwise return the class that will be used in JCA registration