org.apache.karaf.management
Class JaasAuthenticator
java.lang.Object
org.apache.karaf.management.JaasAuthenticator
- All Implemented Interfaces:
- javax.management.remote.JMXAuthenticator
public class JaasAuthenticator
- extends java.lang.Object
- implements javax.management.remote.JMXAuthenticator
Method Summary |
javax.security.auth.Subject |
authenticate(java.lang.Object credentials)
|
java.lang.String |
getRealm()
|
java.lang.String |
getRole()
|
void |
setRealm(java.lang.String realm)
|
void |
setRole(java.lang.String role)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasAuthenticator
public JaasAuthenticator()
getRealm
public java.lang.String getRealm()
setRealm
public void setRealm(java.lang.String realm)
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
authenticate
public javax.security.auth.Subject authenticate(java.lang.Object credentials)
throws java.lang.SecurityException
- Specified by:
authenticate
in interface javax.management.remote.JMXAuthenticator
- Throws:
java.lang.SecurityException
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.