org.apache.geronimo.jmxremoting
Class Authenticator

java.lang.Object
  extended by org.apache.geronimo.jmxremoting.Authenticator
All Implemented Interfaces:
EventListener, NotificationListener, JMXAuthenticator

public class Authenticator
extends Object
implements JMXAuthenticator, NotificationListener

JMX Authenticator that checks the Credentials by logging in via JAAS.


Constructor Summary
Authenticator(String configName, ClassLoader cl)
          Constructor indicating which JAAS Application Configuration Entry to use.
 
Method Summary
 Subject authenticate(Object o)
           
 void handleNotification(Notification notification, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticator

public Authenticator(String configName,
                     ClassLoader cl)
Constructor indicating which JAAS Application Configuration Entry to use.

Parameters:
configName - the JAAS config name
Method Detail

authenticate

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

handleNotification

public void handleNotification(Notification notification,
                               Object o)
Specified by:
handleNotification in interface NotificationListener


Copyright © 2006 Apache Software Foundation. All Rights Reserved.