org.apache.geronimo.jmxremoting
Class Authenticator

java.lang.Object
  extended byorg.apache.geronimo.jmxremoting.Authenticator
All Implemented Interfaces:
EventListener, javax.management.remote.JMXAuthenticator, javax.management.NotificationListener

public class Authenticator
extends Object
implements javax.management.remote.JMXAuthenticator, javax.management.NotificationListener

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

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
Authenticator(String configName, ClassLoader cl)
          Constructor indicating which JAAS Application Configuration Entry to use.
 
Method Summary
 Subject authenticate(Object o)
           
 void handleNotification(javax.management.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 javax.management.remote.JMXAuthenticator
Throws:
SecurityException

handleNotification

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.