public class InvalidationType
extends java.lang.Object
Instances of this class are used to indicate the type of user invalidation that the Liberator should perform.
Use a static instance of this class to pass to one of the SessionManager
methods when invalidating sessions.
Modifier and Type | Field and Description |
---|---|
static InvalidationType |
READ
Indicates that the Liberator should re-check all read permissions (with calls to
Authenticator.checkRead(com.caplin.server.auth.UserSession, com.caplin.server.auth.RTTPObject, java.lang.String)
for the invalidated sessions. |
static InvalidationType |
READ_CHECK_OBJECT
Indicates that the Liberator should re-map all user objects (with calls to
Authenticator.mapObject(com.caplin.server.auth.UserSession, com.caplin.server.auth.MapObject)
in addition to re-checking all read permissions for the invalidated sessions. |
static InvalidationType |
READ_CHECK_OBJECT_SET_FLAG_2
Deprecated.
Using this flag will now cause the Liberator to behave as if READ_CHECK_OBJECT had been used.
|
Modifier and Type | Method and Description |
---|---|
int |
getCReturnCode() |
static InvalidationType |
getType(int returnCode) |
java.lang.String |
toString() |
public static final InvalidationType READ
Authenticator.checkRead(com.caplin.server.auth.UserSession, com.caplin.server.auth.RTTPObject, java.lang.String)
for the invalidated sessions.public static final InvalidationType READ_CHECK_OBJECT
Authenticator.mapObject(com.caplin.server.auth.UserSession, com.caplin.server.auth.MapObject)
in addition to re-checking all read permissions for the invalidated sessions.public static final InvalidationType READ_CHECK_OBJECT_SET_FLAG_2
public static InvalidationType getType(int returnCode)
public int getCReturnCode()
public java.lang.String toString()
toString
in class java.lang.Object
Please send bug reports and comments to Caplin support