Package org.apache.ignite.spi.discovery
Interface DiscoverySpiNodeAuthenticator
-
public interface DiscoverySpiNodeAuthenticatorNode authenticator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.ignite.internal.processors.security.SecurityContextauthenticateNode(ClusterNode node, SecurityCredentials cred)Security credentials.booleanisGlobalNodeAuthentication()Gets global node authentication flag.
-
-
-
Method Detail
-
authenticateNode
org.apache.ignite.internal.processors.security.SecurityContext authenticateNode(ClusterNode node, SecurityCredentials cred) throws IgniteException
Security credentials.- Parameters:
node- Node to authenticate.cred- Security credentials.- Returns:
- Security context if authentication succeeded or
nullif authentication failed. - Throws:
IgniteException- If authentication process failed (invalid credentials should not lead to this exception).
-
isGlobalNodeAuthentication
boolean isGlobalNodeAuthentication()
Gets global node authentication flag.- Returns:
Trueif all nodes in topology should authenticate joining node,falseif only coordinator should do the authentication.
-
-