org.apache.qpid.server.security.auth.rmi
Class RMIPasswordAuthenticator

java.lang.Object
  extended by org.apache.qpid.server.security.auth.rmi.RMIPasswordAuthenticator
All Implemented Interfaces:
JMXAuthenticator

public class RMIPasswordAuthenticator
extends Object
implements JMXAuthenticator


Field Summary
(package private) static String CREDENTIALS_REQUIRED
           
(package private) static String INVALID_CREDENTIALS
           
(package private) static String SHOULD_BE_NON_NULL
           
(package private) static String SHOULD_BE_STRING_ARRAY
           
(package private) static String SHOULD_HAVE_2_ELEMENTS
           
(package private) static String UNABLE_TO_LOOKUP
           
 
Constructor Summary
RMIPasswordAuthenticator()
           
 
Method Summary
 Subject authenticate(Object credentials)
           
 void setPrincipalDatabase(PrincipalDatabase pd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNABLE_TO_LOOKUP

static final String UNABLE_TO_LOOKUP
See Also:
Constant Field Values

SHOULD_BE_STRING_ARRAY

static final String SHOULD_BE_STRING_ARRAY
See Also:
Constant Field Values

SHOULD_HAVE_2_ELEMENTS

static final String SHOULD_HAVE_2_ELEMENTS
See Also:
Constant Field Values

SHOULD_BE_NON_NULL

static final String SHOULD_BE_NON_NULL
See Also:
Constant Field Values

INVALID_CREDENTIALS

static final String INVALID_CREDENTIALS
See Also:
Constant Field Values

CREDENTIALS_REQUIRED

static final String CREDENTIALS_REQUIRED
See Also:
Constant Field Values
Constructor Detail

RMIPasswordAuthenticator

public RMIPasswordAuthenticator()
Method Detail

setPrincipalDatabase

public void setPrincipalDatabase(PrincipalDatabase pd)

authenticate

public Subject authenticate(Object credentials)
                     throws SecurityException
Specified by:
authenticate in interface JMXAuthenticator
Throws:
SecurityException


Licensed to the Apache Software Foundation