|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteAuthenticator
This RMI interface provides methods to RemoteAuthenticate valid users and actions.
| Method Summary | |
|---|---|
java.lang.String |
changePassword(java.lang.String realm,
java.lang.String byUserID,
java.lang.String userID,
java.lang.String password,
java.lang.String newPassword)
Changes the password of an user. |
java.lang.String |
changePasswordEx(java.lang.String realm,
java.lang.String byUserID,
java.lang.String userID,
java.lang.String password,
java.lang.String newPassword)
Changes the password of an user. |
boolean |
checkPrivilege(java.lang.String realm,
java.lang.String userID,
java.lang.String privilege)
Tests if the user has the privilege or not. |
boolean |
isAdminUser(java.lang.String realm,
java.lang.String userID)
|
boolean |
isOrganizationAdminUser(java.lang.String realm,
java.lang.String userID)
|
boolean |
isPermissionOk(java.lang.String realm,
java.lang.String userID,
java.lang.String resource,
int versionNumber,
java.lang.String action)
Tests if the user has the permission to perform the action for the resource on server. |
boolean |
isPermissionOk(java.lang.String realm,
java.lang.String userID,
java.lang.String resource,
java.lang.String action)
Tests if the user has the permission to perform the action for the resource on server. |
boolean |
isValidAdminUser(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
Tests if the user is a valid admin user. |
boolean |
isValidAdminUserEx(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
Tests if the user is a valid admin user. |
boolean |
isValidOrganizationAdminUser(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
Checks if the user is valid admin user of an organization. |
boolean |
isValidUser(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
Tests if the user is valid. |
boolean |
isValidUserEx(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
Tests if the user is valid. |
| Method Detail |
|---|
boolean isValidUser(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
throws java.rmi.RemoteException
realm - The realm.userID - The user ID.password - The password.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isValidUserEx(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
throws java.rmi.RemoteException,
InvalidUserException
realm - The realm.userID - The user ID.password - The password.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
InvalidUserException - if the user is not valid.
boolean isValidAdminUser(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
throws java.rmi.RemoteException
realm - The realm.userID - The user ID.password - The password.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isValidAdminUserEx(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
throws java.rmi.RemoteException,
InvalidUserException
realm - The realm.userID - The user ID.password - The password.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
InvalidUserException - if the user is not valid.
boolean isAdminUser(java.lang.String realm,
java.lang.String userID)
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isValidOrganizationAdminUser(java.lang.String realm,
java.lang.String userID,
java.lang.String password)
throws java.rmi.RemoteException
realm - the realm.userID - the user ID, organization name and user name is separated by "\".password - the password.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isOrganizationAdminUser(java.lang.String realm,
java.lang.String userID)
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isPermissionOk(java.lang.String realm,
java.lang.String userID,
java.lang.String resource,
java.lang.String action)
throws java.rmi.RemoteException
realm - The realm.userID - The user ID.resource - The resource on server. For example, /SunVMDemo/SunVMDemo.cat/invoice.cls.action - The action for the resource on server. For example, APIConst.CMD_WEB_VIEW.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isPermissionOk(java.lang.String realm,
java.lang.String userID,
java.lang.String resource,
int versionNumber,
java.lang.String action)
throws java.rmi.RemoteException
realm - The realm.userID - The user ID.resource - The resource on server. For example: /SunVMDemo/SunVMDemo.cat.versionNumber - Version number of the resource that specifies which version will be checked.action - The action for the resource on server. For example, APIConst.CMD_WEB_VIEW.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean checkPrivilege(java.lang.String realm,
java.lang.String userID,
java.lang.String privilege)
throws java.rmi.RemoteException
realm - The realm.userID - The user ID.privilege - String of the privilege. Available privileges are:
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String changePassword(java.lang.String realm,
java.lang.String byUserID,
java.lang.String userID,
java.lang.String password,
java.lang.String newPassword)
throws java.rmi.RemoteException
realm - The realm.byUserID - Changes the password by user ID.userID - The user ID whose password will be changed.password - Password of the user.newPassword - New password of the user.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String changePasswordEx(java.lang.String realm,
java.lang.String byUserID,
java.lang.String userID,
java.lang.String password,
java.lang.String newPassword)
throws java.rmi.RemoteException,
InvalidPasswordException
realm - The realm.byUserID - Changes the password by user ID.userID - The user ID whose password will be changed.password - Password of the user.newPassword - New password of the user.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
InvalidPasswordException - if password not match advanced password rule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||