org.apache.servicemix.jbi.jmx
Class JaasAuthenticator
java.lang.Object
org.apache.servicemix.jbi.jmx.JaasAuthenticator
- All Implemented Interfaces:
- JMXAuthenticator
public class JaasAuthenticator
- extends Object
- implements JMXAuthenticator
- Author:
- gnodet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasAuthenticator
public JaasAuthenticator()
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.