public interface GridSecurityProcessor extends GridProcessor
GridComponent.DiscoveryDataExchangeType| Modifier and Type | Method and Description |
|---|---|
SecurityContext |
authenticate(AuthenticationContext ctx)
Authenticates subject via underlying Authenticator.
|
SecuritySubject |
authenticatedSubject(UUID subjId)
Gets authenticated node subject.
|
Collection<SecuritySubject> |
authenticatedSubjects()
Gets collection of authenticated nodes.
|
SecurityContext |
authenticateNode(ClusterNode node,
SecurityCredentials cred)
Authenticates grid node with it's attributes via underlying Authenticator.
|
void |
authorize(String name,
SecurityPermission perm,
SecurityContext securityCtx)
Authorizes grid operation.
|
boolean |
enabled() |
boolean |
isGlobalNodeAuthentication()
Gets flag indicating whether all nodes or coordinator only should run the authentication for joining node.
|
void |
onSessionExpired(UUID subjId)
Callback invoked when subject session got expired.
|
collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNodeSecurityContext authenticateNode(ClusterNode node, SecurityCredentials cred) throws IgniteCheckedException
node - Node id to authenticate.cred - Security credentials.True if succeeded, false otherwise.IgniteCheckedException - If error occurred.boolean isGlobalNodeAuthentication()
True if all nodes should run authentication process, false otherwise.SecurityContext authenticate(AuthenticationContext ctx) throws IgniteCheckedException
ctx - Authentication context.True if succeeded, false otherwise.IgniteCheckedException - If error occurred.Collection<SecuritySubject> authenticatedSubjects() throws IgniteCheckedException
IgniteCheckedException - If error occurred.SecuritySubject authenticatedSubject(UUID subjId) throws IgniteCheckedException
subjId - Subject ID.IgniteCheckedException - If error occurred.void authorize(String name, SecurityPermission perm, @Nullable SecurityContext securityCtx) throws SecurityException
name - Cache name or task class name.perm - Permission to authorize.securityCtx - Optional security context.SecurityException - If security check failed.void onSessionExpired(UUID subjId)
subjId - Subject ID.boolean enabled()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017