public class GridOsSecureSessionManager extends GridNoopManagerAdapter implements GridSecureSessionManager
GridSecureSessionManager.| Constructor and Description |
|---|
GridOsSecureSessionManager(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
securityEnabled()
Checks if security check is enabled.
|
byte[] |
updateSession(GridSecuritySubjectType subjType,
UUID subjId,
GridSecurityContext subjCtx,
Object params)
Generates secure session token.
|
GridSecureSession |
validateSession(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params) |
addSpiAttributes, collectDiscoveryData, enabled, onDiscoveryDataReceived, onKernalStart, onKernalStop, printMemoryStats, start, stop, validateNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSpiAttributes, enabledcollectDiscoveryData, onDiscoveryDataReceived, onKernalStart, onKernalStop, printMemoryStats, start, stop, validateNodepublic GridOsSecureSessionManager(GridKernalContext ctx)
ctx - Kernal context.public boolean securityEnabled()
securityEnabled in interface GridSecureSessionManagerTrue if secure session check is enabled.public GridSecureSession validateSession(GridSecuritySubjectType subjType, UUID subjId, @Nullable byte[] tok, @Nullable Object params) throws GridException
validateSession in interface GridSecureSessionManagersubjType - Subject type.subjId - Subject ID.tok - Token.params - Parameters.null if session is not valid.GridException - If error occurred.public byte[] updateSession(GridSecuritySubjectType subjType, UUID subjId, GridSecurityContext subjCtx, @Nullable Object params)
updateSession in interface GridSecureSessionManagersubjType - Subject type.subjId - Subject ID.subjCtx - Authentication subject context.params - Params.Copyright © 2014. All rights reserved.