public class RmiAuthenticator extends Object implements JMXAuthenticator
RMIAuthenticator
manages authentication for the secure RMI connectors. It receives authentication
requests from clients as a SASL/PLAIN challenge and relies on a SASL server plus the local LDAP authentication accept
or reject the user being connected.Constructor and Description |
---|
RmiAuthenticator(JmxConnectionHandler jmxConnectionHandler)
Constructs a
RmiAuthenticator . |
Modifier and Type | Method and Description |
---|---|
Subject |
authenticate(Object credentials)
Authenticates a RMI client.
|
void |
setFinalizedPhase(boolean finalizedPhase)
Set that we are in the finalized phase.
|
public RmiAuthenticator(JmxConnectionHandler jmxConnectionHandler)
RmiAuthenticator
.jmxConnectionHandler
- The jmxConnectionHandler associated to this RmiAuthenticatorpublic void setFinalizedPhase(boolean finalizedPhase)
finalizedPhase
- Set to true, it indicates that we are in the finalized phase that that we other connection should be
accepted.JmxConnectionHandler
public Subject authenticate(Object credentials)
authenticate
in interface JMXAuthenticator
credentials
- the SASL/PLAIN credentials to validateSubject
holding the principal(s) authenticatedCopyright © 2010–2017 ForgeRock AS. All rights reserved.