Package | Description |
---|---|
com.caplin.server.auth |
Provides the core interfaces and classes that are required to write a Liberator Auth Module.
|
examples |
Some basic examples of Liberator Auth Modules.
|
Modifier and Type | Method and Description |
---|---|
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)
This method will be called to check authentication every time a user tries to read an object.
|
AuthenticationResult |
AuthenticatorAdaptor.checkRead(UserSession session,
RTTPObject object) |
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.checkWrite(UserSession session,
RTTPObject object,
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 contributionId,
java.util.Map<java.lang.String,java.lang.String> fields) |
void |
DelayedResultReceiver.delayedCheckWriteResult(UserSession userSession,
RTTPObject object,
java.lang.String contributionId,
AuthenticationResult result)
Use to provide a delayed result for a
Authenticator.checkWrite 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) |
void |
Authenticator.globalPermissionUpdate(RTTPObject object,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> fieldValues,
PermissionUpdateType type)
Called on every update to a global permission object to allow the Authenticator
to receive structured control messages.
|
void |
AuthenticatorAdaptor.globalPermissionUpdate(RTTPObject object,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> fieldValues,
PermissionUpdateType type) |
AuthenticationResult |
Authenticator.newObject(RTTPObject object,
RTTPObject parent)
This method is called when a new object is created in the Liberator.
|
AuthenticationResult |
AuthenticatorAdaptor.newObject(RTTPObject object,
RTTPObject parent) |
AuthenticationResult |
Authenticator.releaseObject(RTTPObject object)
This method will be called when the Liberator deletes an object.
|
AuthenticationResult |
AuthenticatorAdaptor.releaseObject(RTTPObject object) |
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) |
Modifier and Type | Method and 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) |
AuthenticationResult |
PermissionAuthenticator.checkRead(UserSession session,
RTTPObject object) |
AuthenticationResult |
TieringAuthenticator.checkRead(UserSession session,
RTTPObject object) |
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 |
OpenAuthenticator.checkWrite(UserSession session,
RTTPObject object,
java.lang.String contributionId,
java.util.Map<java.lang.String,java.lang.String> fields) |
AuthenticationResult |
PermissionAuthenticator.checkWrite(UserSession session,
RTTPObject object,
java.lang.String contributionId,
java.util.Map<java.lang.String,java.lang.String> fields) |
AuthenticationResult |
TieringAuthenticator.checkWrite(UserSession session,
RTTPObject object,
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) |
void |
OpenAuthenticator.globalPermissionUpdate(RTTPObject object,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> fieldValues,
PermissionUpdateType type) |
void |
PermissionAuthenticator.globalPermissionUpdate(RTTPObject object,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> fieldValues,
PermissionUpdateType type) |
void |
TieringAuthenticator.globalPermissionUpdate(RTTPObject object,
java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> fieldValues,
PermissionUpdateType type) |
AuthenticationResult |
OpenAuthenticator.newObject(RTTPObject object,
RTTPObject parent) |
AuthenticationResult |
PermissionAuthenticator.newObject(RTTPObject object,
RTTPObject parent) |
AuthenticationResult |
TieringAuthenticator.newObject(RTTPObject object,
RTTPObject parent) |
AuthenticationResult |
OpenAuthenticator.releaseObject(RTTPObject object) |
AuthenticationResult |
PermissionAuthenticator.releaseObject(RTTPObject object) |
AuthenticationResult |
TieringAuthenticator.releaseObject(RTTPObject object) |
AuthenticationResult |
OpenAuthenticator.requestObject(UserSession session,
RTTPObject object) |
AuthenticationResult |
PermissionAuthenticator.requestObject(UserSession session,
RTTPObject object) |
AuthenticationResult |
TieringAuthenticator.requestObject(UserSession session,
RTTPObject object) |
Please send bug reports and comments to Caplin support