org.apache.qpid.server.security.auth
Class SASLAuthenticationManager

java.lang.Object
  extended by org.apache.qpid.server.security.auth.SASLAuthenticationManager
All Implemented Interfaces:
AuthenticationManager

public class SASLAuthenticationManager
extends java.lang.Object
implements AuthenticationManager


Constructor Summary
SASLAuthenticationManager()
           
 
Method Summary
 AuthenticationResult authenticate(javax.security.sasl.SaslServer server, byte[] response)
           
 javax.security.sasl.SaslServer createSaslServer(java.lang.String mechanism, java.lang.String localFQDN)
           
 java.lang.String getMechanisms()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SASLAuthenticationManager

public SASLAuthenticationManager()
                          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getMechanisms

public java.lang.String getMechanisms()
Specified by:
getMechanisms in interface AuthenticationManager

createSaslServer

public javax.security.sasl.SaslServer createSaslServer(java.lang.String mechanism,
                                                       java.lang.String localFQDN)
                                                throws javax.security.sasl.SaslException
Specified by:
createSaslServer in interface AuthenticationManager
Throws:
javax.security.sasl.SaslException

authenticate

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