public interface Authenticator
authentication
and does not provide any authorization
functionality.
Ignite provides the following GridAuthenticator
implementations:
PasscodeAuthenticator
-
validates authentication with passcode phrase.
JaasAuthenticator
-
validates authentication with JAAS Java extension.
()
method to check its configuration properties.
Note again that calling methods from this interface on the obtained instance can lead
to undefined behavior and explicitly not supported.
Authenticator can be configured via GridGainConfiguration.setAuthenticator(Authenticator)
.
AuthenticationValidator
interface. GridGain will check that all
nodes in cluster have an equal validation tokens.Modifier and Type | Method and Description |
---|---|
SecuritySubject |
authenticate(AuthenticationContext authCtx)
Authenticates a given subject (either node or remote client).
|
boolean |
isGlobalNodeAuthentication()
Flag indicating whether node authentication should be run on coordinator only or on all nodes
in current topology.
|
boolean |
supported(SecuritySubjectType subjType)
Checks if given subject is supported by this authenticator.
|
boolean supported(SecuritySubjectType subjType)
subjType
- Subject type.True
if subject type is supported, false
otherwise.SecuritySubject authenticate(AuthenticationContext authCtx) throws IgniteCheckedException
authCtx
- Authentication context. Contains all necessary information required to authenticate
the subject.null
if authentication did not pass.IgniteCheckedException
- If authentication resulted in system error.
Note that bad credentials should not cause this exception.boolean isGlobalNodeAuthentication()
True
if all nodes in topology should authenticate joining node. In this case security
permissions will be validated to be the same on all nodes. In case if permissions differ, node will
not be able to join the topology. If this method returns false
, only coordinator node will
authenticate joining node.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024