public final class AuthenticationProxy
extends java.lang.Object
implements javax.management.remote.JMXAuthenticator
| Constructor and Description | 
|---|
| AuthenticationProxy(java.lang.String loginConfigName)Creates an instance of  JMXPluggableAuthenticatorand initializes it with aLoginContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.security.auth.Subject | authenticate(java.lang.Object credentials)Perform authentication of the client opening the MBeanServerConnection | 
public AuthenticationProxy(java.lang.String loginConfigName)
JMXPluggableAuthenticator
 and initializes it with a LoginContext.loginConfigName - name of the specifig JAAS login configuration to
                        use when authenticating JMX connectionsjava.lang.SecurityException - if the authentication mechanism cannot be
         initialized.public javax.security.auth.Subject authenticate(java.lang.Object credentials)
authenticate in interface javax.management.remote.JMXAuthenticatorcredentials - optionally these credentials may be supplied by the JMX user.
                    Out of the box, the JDK's RMIServerImpl is capable
                    of supplying a two element String[], containing username and password.
                    If present, these credentials will be made available to configured
                    LoginModules via JMXCallbackHandler.java.lang.SecurityException - if the server cannot authenticate the user
         with the provided credentials.Copyright © 2018 The Apache Software Foundation