Uses of Class
com.caplin.server.auth.UserSession
-
Packages that use UserSession Package Description com.caplin.server.auth examples -
-
Uses of UserSession in com.caplin.server.auth
Methods in com.caplin.server.auth with parameters of type UserSession Modifier and Type Method Description void
SessionManager. adjustThrottleForObject(UserSession session, java.lang.String subscribedObjectName, ThrottleCommand command)
Provides a mechanism to control the throttling level of a single subscription of a session.void
SessionManager. adjustThrottleForSession(UserSession session, ThrottleCommand command)
Provides a mechanism to control the throttling level of all subscriptions of a session.AuthenticationResult
Authenticator. checkPermissionUpdate(UserSession session, RTTPObject object, java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fieldValues)
Called on every update to a permission object to allow the Authenticator to authenticate each update based on content.AuthenticationResult
AuthenticatorAdaptor. checkPermissionUpdate(UserSession session, RTTPObject object, java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fieldValues)
AuthenticationResult
Authenticator. checkRead(UserSession session, RTTPObject object, java.lang.String requestedName)
This method will be called to check authentication every time a user tries to read an object.AuthenticationResult
AuthenticatorAdaptor. checkRead(UserSession session, RTTPObject object, java.lang.String requestedName)
AuthenticationResult
Authenticator. checkUpdate(UserSession session, RTTPObject object, java.lang.String data)
Called on every update to an object (currently only news headline objects) to allow the Authenticator to authenticate each update based on content.AuthenticationResult
AuthenticatorAdaptor. checkUpdate(UserSession session, RTTPObject object, java.lang.String data)
AuthenticationResult
Authenticator. checkUser(UserSession session)
The user login authorisation method which is called every time a user tries to login to the server.AuthenticationResult
AuthenticatorAdaptor. checkUser(UserSession session)
AuthenticationResult
Authenticator. checkWrite(UserSession session, RTTPObject object, java.lang.String requestedName, java.lang.String contributionId, java.util.Map<java.lang.String,java.lang.String> fields)
This method will be called to check authentication every time a user attempts to create or write to an object.AuthenticationResult
AuthenticatorAdaptor. checkWrite(UserSession session, RTTPObject object, java.lang.String requestedName, java.lang.String contributionId, java.util.Map<java.lang.String,java.lang.String> fields)
void
DelayedResultReceiver. delayedCheckUserResult(UserSession userSession, AuthenticationResult result)
This method should be called when providing a delayed result from aAuthenticator.checkUser
call.void
DelayedResultReceiver. delayedCheckWriteResult(UserSession userSession, RTTPObject object, java.lang.String contributionId, AuthenticationResult result)
Use to provide a delayed result for aAuthenticator.checkWrite
call.void
DelayedResultReceiver. delayedMapObjectResult(UserSession userSession, MapObject mappedObject, AuthenticationResult result)
Use to provide a delayed result for aAuthenticator.mapObject
call.AuthenticationResult
Authenticator. discardObject(UserSession session, RTTPObject object)
This method will be called when a user's session is no longer subscribed to an object.AuthenticationResult
AuthenticatorAdaptor. discardObject(UserSession session, RTTPObject object)
AuthenticationResult
Authenticator. mapObject(UserSession session, MapObject mapObject)
This method will be called every time a user tries to read an object (before checkRead).AuthenticationResult
AuthenticatorAdaptor. mapObject(UserSession session, MapObject mapObject)
AuthenticationResult
Authenticator. releaseUser(UserSession session)
This method will be called when the Liberator deletes the user session due to logout or timeout.AuthenticationResult
AuthenticatorAdaptor. releaseUser(UserSession session)
AuthenticationResult
Authenticator. requestObject(UserSession session, RTTPObject object)
This method will be called when a user's session becomes subscribed to an object.AuthenticationResult
AuthenticatorAdaptor. requestObject(UserSession session, RTTPObject object)
-
Uses of UserSession in examples
Methods in examples with parameters of type UserSession Modifier and Type Method Description AuthenticationResult
OpenAuthenticator. checkPermissionUpdate(UserSession session, RTTPObject object, java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fieldValues)
AuthenticationResult
PermissionAuthenticator. checkPermissionUpdate(UserSession session, RTTPObject object, java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fieldValues)
AuthenticationResult
TieringAuthenticator. checkPermissionUpdate(UserSession session, RTTPObject object, java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fieldValues)
AuthenticationResult
OpenAuthenticator. checkRead(UserSession session, RTTPObject object, java.lang.String requestedName)
AuthenticationResult
PermissionAuthenticator. checkRead(UserSession session, RTTPObject object, java.lang.String requestedName)
AuthenticationResult
TieringAuthenticator. checkRead(UserSession session, RTTPObject object, java.lang.String requestedName)
AuthenticationResult
OpenAuthenticator. checkUpdate(UserSession session, RTTPObject object, java.lang.String data)
AuthenticationResult
PermissionAuthenticator. checkUpdate(UserSession session, RTTPObject object, java.lang.String data)
AuthenticationResult
TieringAuthenticator. checkUpdate(UserSession session, RTTPObject object, java.lang.String data)
AuthenticationResult
DelayedLoginAuthenticator. checkUser(UserSession session)
AuthenticationResult
KeyMasterAuthenticator. checkUser(UserSession session)
If the user is in our list of KeyMaster users then check the password is a valid token, otherwise delegate to the superclassAuthenticationResult
OpenAuthenticator. checkUser(UserSession session)
AuthenticationResult
PermissionAuthenticator. checkUser(UserSession session)
AuthenticationResult
TieringAuthenticator. checkUser(UserSession session)
AuthenticationResult
OpenAuthenticator. checkWrite(UserSession session, RTTPObject object, java.lang.String requestedName, java.lang.String contributionId, java.util.Map<java.lang.String,java.lang.String> fields)
AuthenticationResult
PermissionAuthenticator. checkWrite(UserSession session, RTTPObject object, java.lang.String requestedName, java.lang.String contributionId, java.util.Map<java.lang.String,java.lang.String> fields)
AuthenticationResult
TieringAuthenticator. checkWrite(UserSession session, RTTPObject object, java.lang.String requestedName, java.lang.String contributionId, java.util.Map<java.lang.String,java.lang.String> fields)
AuthenticationResult
OpenAuthenticator. discardObject(UserSession session, RTTPObject object)
AuthenticationResult
PermissionAuthenticator. discardObject(UserSession session, RTTPObject object)
AuthenticationResult
TieringAuthenticator. discardObject(UserSession session, RTTPObject object)
AuthenticationResult
OpenAuthenticator. mapObject(UserSession session, MapObject mapObject)
AuthenticationResult
PermissionAuthenticator. mapObject(UserSession session, MapObject mapObject)
AuthenticationResult
TieringAuthenticator. mapObject(UserSession session, MapObject mapObject)
AuthenticationResult
OpenAuthenticator. releaseUser(UserSession session)
AuthenticationResult
PermissionAuthenticator. releaseUser(UserSession session)
AuthenticationResult
TieringAuthenticator. releaseUser(UserSession session)
AuthenticationResult
OpenAuthenticator. requestObject(UserSession session, RTTPObject object)
AuthenticationResult
PermissionAuthenticator. requestObject(UserSession session, RTTPObject object)
AuthenticationResult
TieringAuthenticator. requestObject(UserSession session, RTTPObject object)
-