Uses of Class
com.caplin.server.auth.UserSession
-
Uses of UserSession in com.caplin.server.auth
Modifier and TypeMethodDescriptionvoid
SessionManager.adjustThrottleForObject
(UserSession session, 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.Authenticator.checkPermissionUpdate
(UserSession session, RTTPObject object, String key, Map<String, String> fieldValues) Called on every update to a permission object to allow the Authenticator to authenticate each update based on content.AuthenticatorAdaptor.checkPermissionUpdate
(UserSession session, RTTPObject object, String key, Map<String, String> fieldValues) Authenticator.checkRead
(UserSession session, RTTPObject object, String requestedName) This method will be called to check authentication every time a user tries to read an object.AuthenticatorAdaptor.checkRead
(UserSession session, RTTPObject object, String requestedName) Authenticator.checkUpdate
(UserSession session, RTTPObject object, 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.AuthenticatorAdaptor.checkUpdate
(UserSession session, RTTPObject object, String data) Authenticator.checkUser
(UserSession session) The user login authorisation method which is called every time a user tries to login to the server.AuthenticatorAdaptor.checkUser
(UserSession session) Authenticator.checkWrite
(UserSession session, RTTPObject object, String requestedName, String contributionId, Map<String, String> fields) This method will be called to check authentication every time a user attempts to create or write to an object.AuthenticatorAdaptor.checkWrite
(UserSession session, RTTPObject object, String requestedName, String contributionId, Map<String, 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, 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.Authenticator.discardObject
(UserSession session, RTTPObject object) This method will be called when a user's session is no longer subscribed to an object.AuthenticatorAdaptor.discardObject
(UserSession session, RTTPObject object) Authenticator.mapObject
(UserSession session, MapObject mapObject) This method will be called every time a user tries to read an object (before checkRead).AuthenticatorAdaptor.mapObject
(UserSession session, MapObject mapObject) Authenticator.releaseUser
(UserSession session) This method will be called when the Liberator deletes the user session due to logout or timeout.AuthenticatorAdaptor.releaseUser
(UserSession session) Authenticator.requestObject
(UserSession session, RTTPObject object) This method will be called when a user's session becomes subscribed to an object.AuthenticatorAdaptor.requestObject
(UserSession session, RTTPObject object) -
Uses of UserSession in examples
Modifier and TypeMethodDescriptionOpenAuthenticator.checkPermissionUpdate
(UserSession session, RTTPObject object, String key, Map<String, String> fieldValues) PermissionAuthenticator.checkPermissionUpdate
(UserSession session, RTTPObject object, String key, Map<String, String> fieldValues) TieringAuthenticator.checkPermissionUpdate
(UserSession session, RTTPObject object, String key, Map<String, String> fieldValues) OpenAuthenticator.checkRead
(UserSession session, RTTPObject object, String requestedName) PermissionAuthenticator.checkRead
(UserSession session, RTTPObject object, String requestedName) TieringAuthenticator.checkRead
(UserSession session, RTTPObject object, String requestedName) OpenAuthenticator.checkUpdate
(UserSession session, RTTPObject object, String data) PermissionAuthenticator.checkUpdate
(UserSession session, RTTPObject object, String data) TieringAuthenticator.checkUpdate
(UserSession session, RTTPObject object, String data) DelayedLoginAuthenticator.checkUser
(UserSession session) 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 superclassOpenAuthenticator.checkUser
(UserSession session) PermissionAuthenticator.checkUser
(UserSession session) TieringAuthenticator.checkUser
(UserSession session) OpenAuthenticator.checkWrite
(UserSession session, RTTPObject object, String requestedName, String contributionId, Map<String, String> fields) PermissionAuthenticator.checkWrite
(UserSession session, RTTPObject object, String requestedName, String contributionId, Map<String, String> fields) TieringAuthenticator.checkWrite
(UserSession session, RTTPObject object, String requestedName, String contributionId, Map<String, String> fields) OpenAuthenticator.discardObject
(UserSession session, RTTPObject object) PermissionAuthenticator.discardObject
(UserSession session, RTTPObject object) TieringAuthenticator.discardObject
(UserSession session, RTTPObject object) OpenAuthenticator.mapObject
(UserSession session, MapObject mapObject) PermissionAuthenticator.mapObject
(UserSession session, MapObject mapObject) TieringAuthenticator.mapObject
(UserSession session, MapObject mapObject) OpenAuthenticator.releaseUser
(UserSession session) PermissionAuthenticator.releaseUser
(UserSession session) TieringAuthenticator.releaseUser
(UserSession session) OpenAuthenticator.requestObject
(UserSession session, RTTPObject object) PermissionAuthenticator.requestObject
(UserSession session, RTTPObject object) TieringAuthenticator.requestObject
(UserSession session, RTTPObject object)