org.apache.qpid.server.security.auth.sasl.crammd5
Class CRAMMD5Initialiser
java.lang.Object
org.apache.qpid.server.security.auth.sasl.UsernamePasswordInitialiser
org.apache.qpid.server.security.auth.sasl.crammd5.CRAMMD5Initialiser
- All Implemented Interfaces:
- AuthenticationProviderInitialiser
public class CRAMMD5Initialiser
- extends UsernamePasswordInitialiser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRAMMD5Initialiser
public CRAMMD5Initialiser()
getMechanismName
public String getMechanismName()
- Returns:
- the mechanism's name. This will be used in the list of mechanism's advertised to the
client.
getServerFactoryClassForJCARegistration
public Class<? extends 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
initialise
public void initialise(PrincipalDatabase passwordFile)
- Description copied from interface:
AuthenticationProviderInitialiser
- Initialise the authentication provider.
- Specified by:
initialise
in interface AuthenticationProviderInitialiser
- Overrides:
initialise
in class UsernamePasswordInitialiser
- Parameters:
passwordFile
- The principal database to initialise with
initialise
public void initialise(PrincipalDatabase passwordFile,
CRAMMD5Initialiser.HashDirection direction)
Licensed to the Apache Software Foundation