public final class JMXAuthenticatorImpl extends Object implements JMXAuthenticator
Constructor and Description |
---|
JMXAuthenticatorImpl(Authentication authentication,
PermissionChecker permissionChecker)
Constructor to assign the values to the global variables
|
Modifier and Type | Method and Description |
---|---|
Subject |
authenticate(Object rawCredentials)
This method is automatically called when a JMX client tries to connect to the MBean Server referred
by the connector.
|
public JMXAuthenticatorImpl(Authentication authentication, PermissionChecker permissionChecker)
authentication
- the authentication object that is actually usedpermissionChecker
- public Subject authenticate(Object rawCredentials)
The only allowed credentials structure provided by the client is Object[] that contains
username/password (String/String) or username/Credentials
authenticate
in interface JMXAuthenticator
rawCredentials
- the credentials provided by the clientSubject