org.apache.geronimo.jmxremoting
Class Authenticator
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Authenticator
public Authenticator(String configName,
ClassLoader cl)
- Constructor indicating which JAAS Application Configuration Entry to use.
- Parameters:
configName
- the JAAS config namecl
- classloader to use as TCCL for operations
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 © 2003-2007 Apache Software Foundation. All Rights Reserved.