org.apache.servicemix.jbi.jmx
Class JaasAuthenticator

java.lang.Object
  extended by org.apache.servicemix.jbi.jmx.JaasAuthenticator
All Implemented Interfaces:
JMXAuthenticator

public class JaasAuthenticator
extends Object
implements JMXAuthenticator

Author:
gnodet

Constructor Summary
JaasAuthenticator()
           
 
Method Summary
 Subject authenticate(Object credentials)
           
 AuthenticationService getAuthenticationService()
          The authentication service can be used to customize the authentication mechanism used by this authenticator.
 String getDomain()
           
 void setAuthenticationService(AuthenticationService authenticationService)
           
 void setDomain(String domain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaasAuthenticator

public JaasAuthenticator()
Method Detail

getAuthenticationService

public AuthenticationService getAuthenticationService()
The authentication service can be used to customize the authentication mechanism used by this authenticator. It defaults to a JAASAuthenticationService which delegates calls to the JAAS layer.

Returns:
the authenticationService

setAuthenticationService

public void setAuthenticationService(AuthenticationService authenticationService)
Parameters:
authenticationService - the authenticationService to set

getDomain

public String getDomain()
Returns:
the JAAS domain to use for authentication

setDomain

public void setDomain(String domain)
Parameters:
domain - the JAAS domain to use for authentication

authenticate

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


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.