org.apache.qpid.server.security.auth.manager
Class PrincipalDatabaseAuthenticationManager

java.lang.Object
  extended by org.apache.qpid.server.security.auth.manager.PrincipalDatabaseAuthenticationManager
All Implemented Interfaces:
org.apache.qpid.common.Closeable, AuthenticationManager

public class PrincipalDatabaseAuthenticationManager
extends Object
implements AuthenticationManager


Field Summary
static String PROVIDER_NAME
          The name for the required SASL Server mechanisms
 
Constructor Summary
PrincipalDatabaseAuthenticationManager(String name, VirtualHostConfiguration hostConfig)
           
 
Method Summary
 AuthenticationResult authenticate(SaslServer server, byte[] response)
           
 void close()
           
 SaslServer createSaslServer(String mechanism, String localFQDN)
           
 String getMechanisms()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROVIDER_NAME

public static final String PROVIDER_NAME
The name for the required SASL Server mechanisms

See Also:
Constant Field Values
Constructor Detail

PrincipalDatabaseAuthenticationManager

public PrincipalDatabaseAuthenticationManager(String name,
                                              VirtualHostConfiguration hostConfig)
                                       throws Exception
Throws:
Exception
Method Detail

getMechanisms

public String getMechanisms()
Specified by:
getMechanisms in interface AuthenticationManager

createSaslServer

public SaslServer createSaslServer(String mechanism,
                                   String localFQDN)
                            throws SaslException
Specified by:
createSaslServer in interface AuthenticationManager
Throws:
SaslException

authenticate

public AuthenticationResult authenticate(SaslServer server,
                                         byte[] response)
Specified by:
authenticate in interface AuthenticationManager

close

public void close()
Specified by:
close in interface org.apache.qpid.common.Closeable


Licensed to the Apache Software Foundation