public class NoOpIgniteSecurityProcessor extends GridProcessorAdapter implements IgniteSecurity
GridComponent.DiscoveryDataExchangeTypectx, diagnosticLog, logMSG_SEC_PROC_CLS_IS_INVALID| Constructor and Description |
|---|
NoOpIgniteSecurityProcessor(GridKernalContext ctx) |
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitauthorizepublic NoOpIgniteSecurityProcessor(GridKernalContext ctx)
ctx - Grid kernal context.public OperationSecurityContext withContext(SecurityContext secCtx)
OperationSecurityContext. All calls of methods IgniteSecurity.authorize(String, SecurityPermission) or IgniteSecurity.authorize(SecurityPermission) will be processed into the context of passed SecurityContext until
holder OperationSecurityContext will be closed.withContext in interface IgniteSecuritysecCtx - Security Context.public OperationSecurityContext withContext(UUID nodeId)
OperationSecurityContext. All calls of methods IgniteSecurity.authorize(String, SecurityPermission) or IgniteSecurity.authorize(SecurityPermission) will be processed into the context of SecurityContext that is owned by
the node with given nodeId until holder OperationSecurityContext will be closed.withContext in interface IgniteSecuritynodeId - Node id.public SecurityContext securityContext()
securityContext in interface IgniteSecurityOperationSecurityContext.public SecurityContext authenticateNode(ClusterNode node, SecurityCredentials cred)
GridSecurityProcessor.authenticateNode(org.apache.ignite.cluster.ClusterNode,
org.apache.ignite.plugin.security.SecurityCredentials)authenticateNode in interface IgniteSecuritypublic boolean isGlobalNodeAuthentication()
GridSecurityProcessor.isGlobalNodeAuthentication()isGlobalNodeAuthentication in interface IgniteSecuritypublic SecurityContext authenticate(AuthenticationContext ctx)
GridSecurityProcessor.authenticate(AuthenticationContext)authenticate in interface IgniteSecuritypublic Collection<SecuritySubject> authenticatedSubjects()
GridSecurityProcessor.authenticatedSubjects()authenticatedSubjects in interface IgniteSecuritypublic SecuritySubject authenticatedSubject(UUID subjId)
GridSecurityProcessor.authenticatedSubject(UUID)authenticatedSubject in interface IgniteSecuritypublic void onSessionExpired(UUID subjId)
GridSecurityProcessor.onSessionExpired(UUID)onSessionExpired in interface IgniteSecuritypublic void authorize(String name, SecurityPermission perm) throws SecurityException
authorize in interface IgniteSecurityname - Cache name or task class name.perm - Permission to authorize.SecurityException - If security check failed.public boolean enabled()
enabled in interface IgniteSecurity@Nullable public @Nullable IgniteNodeValidationResult validateNode(ClusterNode node)
validateNode in interface GridComponentvalidateNode in class GridProcessorAdapternode - Joining node.null in case of success.@Nullable public @Nullable IgniteNodeValidationResult validateNode(ClusterNode node, DiscoveryDataBag.JoiningNodeDiscoveryData discoData)
validateNode in interface GridComponentvalidateNode in class GridProcessorAdapternode - Joining node.discoData - Joining node discovery data.null in case of success.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020