Package com.caplin.server.auth
Class InvalidationType
- java.lang.Object
-
- com.caplin.server.auth.InvalidationType
-
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.
-
-
Field Summary
Fields Modifier and Type Field Description static InvalidationType
READ
Indicates that the Liberator should re-check all read permissions (with calls toAuthenticator.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 toAuthenticator.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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCReturnCode()
static InvalidationType
getType(int returnCode)
java.lang.String
toString()
-
-
-
Field Detail
-
READ
public static final InvalidationType READ
Indicates that the Liberator should re-check all read permissions (with calls toAuthenticator.checkRead(com.caplin.server.auth.UserSession, com.caplin.server.auth.RTTPObject, java.lang.String)
for the invalidated sessions.
-
READ_CHECK_OBJECT
public static final InvalidationType READ_CHECK_OBJECT
Indicates that the Liberator should re-map all user objects (with calls toAuthenticator.mapObject(com.caplin.server.auth.UserSession, com.caplin.server.auth.MapObject)
in addition to re-checking all read permissions for the invalidated sessions.
-
READ_CHECK_OBJECT_SET_FLAG_2
public static final InvalidationType READ_CHECK_OBJECT_SET_FLAG_2
-
-
Method Detail
-
getType
public static InvalidationType getType(int returnCode)
-
getCReturnCode
public int getCReturnCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-