|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SecurityAdminService
Interface SecurityAdminService provide methods to manage security resource in report server.
| Method Summary | |
|---|---|
java.lang.String |
addAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
addGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String description,
java.lang.String submitter)
Add a new group into the realm. |
java.lang.String |
addGroupIntoRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String roleName)
add a group to role as a memeber |
java.lang.String |
addMemberIntoAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String memberName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
addMemberIntoGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String memberName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
addNewParentRolesToUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String roleName)
Add some new parent role to a user. |
java.lang.String |
addPrivilegedGroups(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector groups)
add roles to have this privilege |
java.lang.String |
addPrivilegedRoles(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector roles)
add roles to have this privilege |
void |
addPrivilegedRoles(java.lang.String privilege,
java.util.Vector roles)
Deprecated. Server V7.1 eplaced by addPrivilegedRoles(String realmName,
String submitter,
String privilege,
Vector groups)
throws NoSuchGroupException, NoSuchRealmException, BadRealmException;. |
java.lang.String |
addPrivilegedUsers(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector users)
add users to have this privilege |
void |
addPrivilegedUsers(java.lang.String privilege,
java.util.Vector users)
Deprecated. Server V7.1 replaced by addPrivilegedUsers(String realmName,
String submitter,
String privilege,
Vector users)
throws NoSuchUserException, NoSuchRealmException;. |
java.lang.String |
addProtection(java.lang.String realmName,
java.lang.String resourcePath,
java.lang.String aclName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
addRealm(java.lang.String realmName,
java.lang.String submitter,
int scheme)
Add a new realm specified by realmName. |
java.lang.String |
addRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String description,
java.lang.String submitter)
Add a new role into the realm. |
java.lang.String |
addRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String description,
java.lang.String parentRoleName,
java.lang.String submitter)
Deprecated. This method is not effective since V7.0 . |
java.lang.String |
addSubGroupIntoGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subGroupName,
java.lang.String groupName)
add a group into a group as sub group |
java.lang.String |
addSubRoleToRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subRoleName,
java.lang.String roleName)
Add a sub role to a role |
java.lang.String |
addSubUserToRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subUserName,
java.lang.String roleName)
Add a sub user to a role |
java.lang.String |
addUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String password,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
boolean passNeverExpire,
int passExpireTime,
boolean passPermitBlank,
int passMinLength,
boolean disabledAccount,
java.lang.String submitter)
Deprecated. This method is not effective since V6. |
java.lang.String |
addUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String password,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
boolean passNeverExpire,
int passExpireTime,
boolean passPermitBlank,
int passMinLength,
boolean disabledAccount)
Add a new user into the realm. |
java.lang.String |
addUserIntoGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String groupName)
Add a user into a group as sub user |
java.lang.String |
addUserIntoRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String userName,
java.lang.String submitter)
Add a user into a role. |
java.lang.String |
changePassword(java.lang.String realmName,
java.lang.String userName,
java.lang.String subPwd,
java.lang.String newPwd,
java.lang.String submitter)
Change user password. |
java.lang.String |
editLDAPUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
java.lang.String submitter)
Edit the specified user. |
java.lang.String |
editProtection(java.lang.String realmName,
java.lang.String resourcePath,
java.lang.String aclName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
editUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
boolean passNeverExpire,
int passExpireTime,
boolean passPermitBlank,
int passMinLength,
boolean disabledAccount,
java.lang.String submitter)
Edit the specified user. |
java.security.acl.Acl |
getAcl(java.lang.String realmName,
java.lang.String aclName)
Deprecated. This method was not effective since V6. |
java.util.Enumeration |
getAclNames(java.lang.String realmName)
Deprecated. This method was not effective since V6. |
java.util.Enumeration |
getAcls(java.lang.String realmName)
Deprecated. This method was not effective since V6. |
java.lang.String |
getActiveRealm()
Get the active Realm in JReport server. |
java.util.Enumeration |
getAllGroupNames(java.lang.String realmName)
Get all group name list in the realm. |
java.util.Enumeration |
getAllGroups(java.lang.String realmName)
Deprecated. This method was not effective since Server V6.0 |
java.util.Vector |
getAllGroups(java.lang.String realmName,
java.lang.String submitter)
Deprecated. This method was not effective since Server V7.1. It was replaced by the method: getAllJGroups(); |
JGroup[] |
getAllJGroups(java.lang.String realmName,
java.lang.String submitter)
A JGroup array that contain all group in server |
JRole[] |
getAllJRoles(java.lang.String realmName,
java.lang.String submitter)
Get all role set in the realm. |
JUser[] |
getAllJUser(java.lang.String realmName,
java.lang.String submitter)
Get all users set in the realm. |
java.util.Enumeration |
getAllRealmNames()
Get all realm name list in report server. |
java.util.Vector |
getAllRoleNames(java.lang.String realmName,
java.lang.String submitter)
Get all role name list in the realm. |
java.util.Vector |
getAllRoles(java.lang.String realmName,
java.lang.String submitter)
Deprecated. This method was not effective since Server V8, replaced by the method getAllJRoles(). |
java.util.Vector |
getAllUser(java.lang.String realmName,
java.lang.String submitter)
Deprecated. This method was not effective since Server V8, replace by the method getJUser(). |
java.util.Enumeration |
getAllUserNames(java.lang.String realmName)
Get all user name list in the realm. |
java.util.Enumeration |
getAllUserNames(java.lang.String realmName,
java.lang.String groupName)
Deprecated. This method was not effective since Server V6.0 |
java.util.Enumeration |
getAllUserNamesByRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName)
Get all user name list in the role. |
java.lang.String |
getCombinedAclName(java.lang.String realmName,
java.lang.String resourcePath)
Deprecated. This method was not effective since V6. |
java.lang.String |
getCurRealm()
Get the current edit Realm in JReport server. |
java.security.acl.Group |
getGroup(java.lang.String realmName,
java.lang.String groupName)
Deprecated. This method was not effective since Server V6.0 |
Group |
getGroupByName(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Deprecated. This method was not effective since Server V7.1 |
int |
getGroupMemberCount(java.lang.String realmName,
java.lang.String groupName)
Get member count in a group. |
java.util.Vector |
getGroupPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
get user's privileges |
java.util.Vector |
getGroupsByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Deprecated. This method was not effective since Server V8, replace by the method getJGroupsByJRole(). |
java.util.Vector |
getGroupsByUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Deprecated. This method was not effective since Server V8, replaced by the method getJGroupsByJUser(). |
JGroup |
getJGroupByName(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Get a group specified by group name |
JGroup[] |
getJGroupsByJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Get sub groups from the role |
JGroup[] |
getJGroupsByJUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Get the groups which specifie user has |
JRole |
getJRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName)
Get a role specified by roleName. |
JRole[] |
getJRolesByJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Get parent roles' object from the group |
JUser |
getJUser(java.lang.String submitter,
java.lang.String realmName,
java.lang.String userName)
Get a user |
JUser[] |
getJUsersByJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Get sub user object array from the parent group |
JRole[] |
getParentJRolesByJUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Get roles which specific user has |
java.util.Vector |
getParentRolesByUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Deprecated. This method was not effective since Server V8, replaced by the method getParentJRolesByJUser(). |
java.util.Vector |
getPrivilegedGroups(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege)
get all groups who have the privilege |
java.util.Vector |
getPrivilegedRoles(java.lang.String privilege)
Deprecated. Server V7.1 replaced by getPrivilegedRoles(String realmName,
String submitter,
String privilege,)
throws NoSuchRealmException;. |
java.util.Vector |
getPrivilegedRoles(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege)
get all roles who have the privilege |
java.util.Vector |
getPrivilegedUsers(java.lang.String privilege)
Deprecated. Server V7.1 replaced by getPrivilegedUsers(String realmName,
String submitter,
String privilege,)
throws NoSuchRealmException;. |
java.util.Vector |
getPrivilegedUsers(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege)
get all users who have the privilege |
java.util.Hashtable[] |
getPrivileges(java.lang.String realmName,
java.lang.String submitter)
Get defined privileges of users |
java.util.Enumeration |
getProtections(java.lang.String realmName)
Deprecated. This method is not effective since V6. |
java.util.Vector |
getReferRoles(java.lang.String realmName,
java.lang.String userName)
Deprecated. This method was not effective since Server V8, replaced by the method getReferJRolers(). |
java.util.Vector |
getReferUsers(java.lang.String realmName,
java.lang.String userName)
Deprecated. This method was not effective since Server V8, replaced by the method getReferJUsers(). |
Role |
getRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName)
Deprecated. This method was not effective since Server V8, replaced by the method getJRole(). |
int |
getRoleMemberCount(java.lang.String realmName,
java.lang.String roleName)
Get member count in a role. |
java.util.Vector |
getRolePrivileges(java.lang.String roleName)
Deprecated. Server V7.1 replaced by getRolePrivileges(String realmName,
String submitter,
String roleName,)
throws NoSuchRoleException, NoSuchRealmException;. |
java.util.Vector |
getRolePrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
get user's privileges |
java.util.Vector |
getRolesByGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Deprecated. This method was not effective since Server V8, replace by the method getJRolesByJGroup(). |
java.util.Vector |
getSubGroupsByGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Deprecated. This method was not effective since Server V8, replace by the method getJUsersByJGroup(). |
JGroup[] |
getSubJGroupsByJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Get sub groups from the parent group |
JRole[] |
getSubJRolesByJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Get the set of a role's sub roles. |
JUser[] |
getSubJUsersByJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Get the set of a role's sub users |
java.util.Vector |
getSubRolesByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Deprecated. This method was not effective since Server V8, replaced by the method getSubJRolesByJRole(). |
java.util.Vector |
getSubUsersByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Deprecated. This method was not effective since Server V8, replaced by the method getSubJUsersByJRole(). |
java.util.Vector |
getSubUsersNameByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Deprecated. This method was not effective since Server V8, replaced by the method getSubJUsersNameByJRole(). |
User |
getUser(java.lang.String submitter,
java.lang.String realmName,
java.lang.String userName)
Deprecated. This method was not effective since Server V8, replace by the method getJUser(). |
java.lang.String |
getUserDescription(java.lang.String realmName,
java.lang.String userName)
Get user's description. |
java.lang.String |
getUserEmail(java.lang.String realmName,
java.lang.String userName)
Get user's email address. |
java.lang.String |
getUserFullname(java.lang.String realmName,
java.lang.String userName)
Get user's full name. |
int |
getUserParentGroupsCount(java.lang.String realmName,
java.lang.String userName)
Get the count if a user's parent groups count |
int |
getUserParentRolesCount(java.lang.String realmName,
java.lang.String userName)
Get the count if a user's parent roles' count |
int |
getUserPasswordExpireTime(java.lang.String realmName,
java.lang.String userName)
Get user password expire time |
int |
getUserPasswordMinLength(java.lang.String realmName,
java.lang.String userName)
Get user password minimum length. |
java.util.Vector |
getUserPrivileges(java.lang.String userName)
Deprecated. Server V7.1 replaced by getUserPrivileges(String realmName,
String submitter,
String userName,)
throws NoSuchUserException, NoSuchRealmException;. |
java.util.Vector |
getUserPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
get user's privileges |
java.util.Vector |
getUsersByGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Deprecated. This method was not effective since Server V8, replace by the method getJUsersByJGroup(). |
boolean |
isAdminUser(java.lang.String userName)
Check the user is adminisitrator or not |
boolean |
isAuditFileAccessFail(java.lang.String realmName,
java.lang.String userName)
Check if audit failing ACCESS event for the user. |
boolean |
isAuditFileAccessSuccess(java.lang.String realmName,
java.lang.String userName)
Check if audit successful ACCESS event for the user. |
boolean |
isAuditManageFail(java.lang.String realmName,
java.lang.String userName)
Check if audit failing MANAGE event for the user. |
boolean |
isAuditManageSuccess(java.lang.String realmName,
java.lang.String userName)
Check if audit successful MANAGE event for the user. |
boolean |
isEditing(java.lang.String realm,
int action)
Check the action is can be edit |
boolean |
isJGroupInJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String parentName)
Indicates whether the group should be in a parent group |
boolean |
isJGroupInJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String roleName)
Indicates whether the group should be in a role |
boolean |
isJRoleInJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.lang.String parentName)
Indicates whether the role should be in a parent role |
boolean |
isJUserInJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String groupName)
Indicates whether the user should be in a group |
boolean |
isJUserInJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String roleName)
Indicates whether the user should be in a role |
boolean |
isNoAudit(java.lang.String realmName,
java.lang.String userName)
Check if does not audit any ACCESS or MANAGE event for the user. |
boolean |
isUserAccountDisable(java.lang.String realmName,
java.lang.String userName)
Check whether user account is disabled. |
boolean |
isUserPasswordNeverExpire(java.lang.String realmName,
java.lang.String userName)
Check if user password is never expire. |
boolean |
isUserPasswordPermitBlank(java.lang.String realmName,
java.lang.String userName)
Check if user password permit blank. |
java.lang.String |
removeAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
removeGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String submitter)
Remove a group from the realm. |
java.lang.String |
removeGroupFromRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String roleName)
remove a group from the role |
java.lang.String |
removeMemberFromAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String memberName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
removeMemberFromGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String memberName,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
removeParentRolesFromUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String roleName)
Remove a parent role from a user |
java.lang.String |
removePrivilegedGroups(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector groups)
remove groups from groups who have the privilege |
java.lang.String |
removePrivilegedRoles(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector roles)
remove roles from roles who have the privilege |
java.lang.String |
removePrivilegedRoles(java.lang.String privilege,
java.util.Vector roles)
Deprecated. Server V7.1 replaced by removePrivilegedRoles(String realmName,
String submitter,
String privilege,
Vector roles)
throws NoSuchRoleException, NoSuchRealmException;. |
java.lang.String |
removePrivilegedUsers(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector users)
remove users from users who have the privilege |
java.lang.String |
removePrivilegedUsers(java.lang.String privilege,
java.util.Vector users)
Deprecated. Server V7.1 replaced by removePrivilegedUsers(String realmName,
String submitter,
String privilege,
Vector users)
throws NoSuchUserException, NoSuchRealmException;. |
java.lang.String |
removeProtection(java.lang.String realmName,
java.lang.String resourcePath,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
removeRealm(java.lang.String realmName,
java.lang.String submitter)
Remove a realm spcified by realmName. |
java.lang.String |
removeRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String submitter)
Remove a role from the realm. |
java.lang.String |
removeRoleFromParentRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName,
java.lang.String parentRoleName)
Remove a role from a parent role |
java.lang.String |
removeSubGroupFromGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subGroupName,
java.lang.String groupName)
remove a sub group from the group |
java.lang.String |
removeUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String submitter)
Remove a user from the realm. |
java.lang.String |
removeUserFromGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String groupName)
remove a user from the group |
java.lang.String |
removeUserFromParentRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String userName,
java.lang.String parentRoleName)
Remove a user from a parent role |
java.lang.String |
removeUserFromRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String userName,
java.lang.String submitter)
Deprecated. This method was not effective since Server V7.0 |
java.lang.String |
setAuditFileAccessFail(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
Set whether audit failing ACCESS actions for the user. |
java.lang.String |
setAuditFileAccessSuccess(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
Set whether audit successful ACCESS actions for the user. |
java.lang.String |
setAuditManageFail(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
Set whether audit failing MANAGE actions for the user. |
java.lang.String |
setAuditManageSuccess(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
Set whether audit successful MANAGE actions for the user. |
void |
setCurRealm(java.lang.String realm)
Set the current edit Realm in JReport server. |
java.lang.String |
setGroupPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.util.Vector privileges)
set privileges for group |
java.lang.String |
setMemberPermissions(java.lang.String realmName,
java.lang.String aclName,
java.lang.String memberName,
java.util.Vector permissions,
boolean isNegative,
java.lang.String submitter)
Deprecated. This method was not effective since V6. |
java.lang.String |
setNoAudit(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
Set whether no event to be audited for the user. |
void |
setPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.util.Hashtable[] privileges)
Set privileges of users |
java.lang.String |
setRolePrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.util.Vector privileges)
set privileges for role |
void |
setRolePrivileges(java.lang.String roleName,
java.util.Vector privileges)
Deprecated. Server V7.1 replaced by setRolePrivileges(String realmName,
String submitter,
String roleName,
Vector privileges)
throws NoSuchRoleException, NoSuchRealmException;. |
java.lang.String |
setUserPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.util.Vector privileges)
set privileges for user |
void |
setUserPrivileges(java.lang.String userName,
java.util.Vector privileges)
Deprecated. Server V7.1 replaced by setUserPrivileges(String realmName,
String submitter,
String userName,
Vector privileges)
throws NoSuchUserException, NoSuchRealmException;. |
| Method Detail |
|---|
java.lang.String getCurRealm()
void setCurRealm(java.lang.String realm)
java.lang.String getActiveRealm()
java.util.Enumeration getAllRealmNames()
java.lang.String addRealm(java.lang.String realmName,
java.lang.String submitter,
int scheme)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException,
java.security.acl.NotOwnerException,
NoSuchUserException,
InUseException
realmName - new realm namesubmitter - the user who request this action.scheme - Realm authentication scheme, 0: basic authentication,1: degist authentication
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException - if acl does not exist.
java.security.acl.NotOwnerException - if the Principal attempting the modification is not an owner.
NoSuchUserException - if user does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.lang.String removeRealm(java.lang.String realmName,
java.lang.String submitter)
realmName - new realm namesubmitter - the user who request this action.
java.lang.String addGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String description,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
InUseException,
java.io.IOException
realmName - the realm namegroupName - the new group namedescription - the new group descriptionsubmitter - the user who request this action
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.io.IOException - if error occurs when try to save data.
java.lang.String removeGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
InUseException
realmName - the realm name.groupName - the new group name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.util.Enumeration getAllGroups(java.lang.String realmName)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.util.Vector getAllGroups(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
JGroup[] getAllJGroups(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.JGroup
java.util.Enumeration getAllGroupNames(java.lang.String realmName)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.security.acl.Group getGroup(java.lang.String realmName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm name.groupName - the group name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
Group getGroupByName(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
JGroup getJGroupByName(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.JGroup
int getGroupMemberCount(java.lang.String realmName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm name.groupName - the group name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
java.lang.String addUserIntoGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
NoSuchUserException
realmName - the realm namesubmitter - the user who request this action.userName - the user namegroupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchUserException - if user does not exist.
java.lang.String addSubGroupIntoGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subGroupName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm namesubmitter - the user who request this action.subGroupName - the sub group namegroupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
java.lang.String addGroupIntoRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String roleName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
NoSuchRoleException
realmName - the realm namesubmitter - the user who request this action.groupName - the group nameroleName - the role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchRoleException - if role does not exist.
java.lang.String removeUserFromGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
NoSuchUserException
realmName - the realm namesubmitter - the user who request this action.userName - the user namegroupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchUserException - if user does not exist.
java.lang.String removeSubGroupFromGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subGroupName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm namesubmitter - the user who request this action.subGroupName - the sub group namegroupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
java.lang.String removeGroupFromRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String roleName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
NoSuchRoleException
realmName - the realm namesubmitter - the user who request this action.groupName - the group nameroleName - the role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchRoleException - if role does not exist.
java.util.Vector getSubGroupsByGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
JGroup[] getSubJGroupsByJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.JGroup
java.util.Vector getUsersByGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
JUser[] getJUsersByJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.JUser
java.util.Vector getRolesByGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
JRole[] getJRolesByJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.JRole
java.util.Vector getGroupsByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.roleName - the role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
JGroup[] getJGroupsByJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.roleName - the role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.JRole
User getUser(java.lang.String submitter,
java.lang.String realmName,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm name.userName - the user name
User object
NoSuchUserException - if there is no specific user in security manager.
NoSuchRealmException
JUser getJUser(java.lang.String submitter,
java.lang.String realmName,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm name.userName - the user name
User object
NoSuchUserException - if there is no specific user in security manager.
NoSuchRealmExceptionJUser
java.lang.String addUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String password,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
boolean passNeverExpire,
int passExpireTime,
boolean passPermitBlank,
int passMinLength,
boolean disabledAccount,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
InUseException,
java.io.IOException
realmName - the realm name.userName - the user name.password - the new user password.fullName - the new user full name.description - the new user description.email - the new user email.passNeverExpire - whether the password can be expired, true if password is not expired.passExpireTime - if passNeverExpire is false, represent after how long time password will be expired .passPermitBlank - whether the password can be blank, true if blank is permited.passMinLength - if password can not be blank, represent the password's minimum length.disabledAccount - whether this user account can be used.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.io.IOException - if error occurs when try to save data.
java.lang.String addUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String password,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
boolean passNeverExpire,
int passExpireTime,
boolean passPermitBlank,
int passMinLength,
boolean disabledAccount)
throws NoSuchRealmException,
UserExistsException
realmName - the realm name.submitter - the user who request this action.userName - the user name.password - the new user password.fullName - the new user full name.description - the new user description.email - the new user email.passNeverExpire - whether the password can be expired, true if password is not expired.passExpireTime - if passNeverExpire is false, represent after how long time password will be expired .passPermitBlank - whether the password can be blank, true if blank is permited.passMinLength - if password can not be blank, represent the password's minimum length.disabledAccount - whether this user account can be used.
NoSuchRealmException - if realm specified by realmName does not exist.
UserExistsException - if user specified by userName exist.
NoSuchRealmException
UserExistsException
java.lang.String removeUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
InUseException
realmName - the realm name.userName - the user name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.lang.String getUserFullname(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.lang.String getUserDescription(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.lang.String getUserEmail(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isUserAccountDisable(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isUserPasswordNeverExpire(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
int getUserPasswordExpireTime(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isUserPasswordPermitBlank(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
int getUserPasswordMinLength(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.lang.String changePassword(java.lang.String realmName,
java.lang.String userName,
java.lang.String subPwd,
java.lang.String newPwd,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.subPwd - submitter's passwordnewPwd - new passwordsubmitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.lang.String editLDAPUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
InUseException,
java.io.IOException
realmName - the realm name.userName - the user name.fullName - the new user full name.description - the new user description.email - the new user email.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.io.IOException - if error occurs when try to save data.
java.lang.String editUser(java.lang.String realmName,
java.lang.String userName,
java.lang.String fullName,
java.lang.String description,
java.lang.String email,
boolean passNeverExpire,
int passExpireTime,
boolean passPermitBlank,
int passMinLength,
boolean disabledAccount,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
InUseException,
java.io.IOException
realmName - the realm name.userName - the user name.fullName - the new user full name.description - the new user description.email - the new user email.passNeverExpire - whether the password can be expired, true if password is not expired.passExpireTime - if passNeverExpire is false, represent after how long time password will be expired .passPermitBlank - whether the password can be blank, true if blank is permited.passMinLength - if password can not be blank, represent the password's minimum length.disabledAccount - whether this user account can be used.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
InUseException - if attempting to delete an object, such as a user or
group, which is in use as part of the realm's security policy.
java.io.IOException - if error occurs when try to save data.
java.util.Enumeration getAllUserNames(java.lang.String realmName)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.util.Vector getAllUser(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
JUser[] getAllJUser(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.JUser
java.util.Enumeration getAllUserNames(java.lang.String realmName,
java.lang.String groupName)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException
realmName - the realm name.groupName - the group name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
java.util.Enumeration getAllUserNamesByRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName)
throws NoSuchRealmException,
BadRealmException,
NoSuchRoleException
submitter - the user who request this action.realmName - the realm name.roleName - the role name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
java.util.Vector getParentRolesByUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm name.submitter - user id who sends this requestuserName - the user name
Vector object contains role names which specific user has,
or null if submitter has not permission for get roles by this user.
NoSuchUserException - if user does not exist.
NoSuchRealmException
JRole[] getParentJRolesByJUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm name.submitter - user id who sends this requestuserName - the user name
Vector object contains role names which specific user has,
or null if submitter has not permission for get roles by this user.
NoSuchUserException - if user does not exist.
NoSuchRealmExceptionJRole
java.util.Vector getGroupsByUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm namesubmitter - the user who request this action.userName - the user name
Vector object contains group names which specific user has,
or null if submitter has not permission for get groups by this user.
NoSuchUserException - if the user does not exist
NoSuchRealmException - if the realm does not exist
JGroup[] getJGroupsByJUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm namesubmitter - the user who request this action.userName - the user name
Vector object contains group names which specific user has,
or null if submitter has not permission for get groups by this user.
NoSuchUserException - if the user does not exist
NoSuchRealmException - if the realm does not existJGroup
java.lang.String addNewParentRolesToUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchUserException,
NoSuchRealmException
realmName - the realm name.submitter - the submitter's nameuserName - the name of user that will be added some new parent roleroleName - the new parent role's name.
NoSuchUserException - if user does not exist.
NoSuchRoleException - if role does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
java.lang.String addMemberIntoGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String memberName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.groupName - the group name that add member into.memberName - the member name, can be a user name or a group name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
java.lang.String addUserIntoRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String userName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
NoSuchRoleException
realmName - the realm name.roleName - the group name that add member into.userName - the user name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
NoSuchUserException - if user does not exist.
java.lang.String removeMemberFromGroup(java.lang.String realmName,
java.lang.String groupName,
java.lang.String memberName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchGroupException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.groupName - the group name that add member into.memberName - the member name, can be a user name or a group name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
java.lang.String removeUserFromRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String userName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchRoleException,
NoSuchUserException
realmName - the realm name.roleName - the role name that remove from role.userName - the user name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
NoSuchUserException - if user does not exist.
int getUserParentRolesCount(java.lang.String realmName,
java.lang.String userName)
throws NoSuchUserException
realmName - the realm name.userName - the user's name
NoSuchUserException - if user does not exist.
int getUserParentGroupsCount(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
NoSuchUserException
realmName - the realm nameuserName - the user's name
NoSuchRealmException - if realm specified by realmName does not exist.
NoSuchUserException - if user does not exist.
java.lang.String removeParentRolesFromUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String roleName)
throws NoSuchUserException,
NoSuchRoleException,
NoSuchRealmException
realmName - the realm name.submitter - the user who request this action.userName - the name of user that will be deleted a parent roleroleName - the new parent role's name.
NoSuchUserException - if user does not exist.
NoSuchRoleException - if role does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
java.lang.String addAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
java.io.IOException
realmName - the realm name.aclName - the new Acl name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.io.IOException - if error occurs when try to save data.
java.lang.String removeAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException
realmName - the realm name.aclName - the new Acl name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException - if acl does not exist.
java.lang.String addMemberIntoAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String memberName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException,
java.security.acl.NotOwnerException,
java.io.IOException
realmName - the realm name.aclName - the new Acl name.memberName - the member name, can be a user name or a group name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException - if acl does not exist.
java.security.acl.NotOwnerException - if the Principal attempting the modification is not an owner.
java.io.IOException - if error occurs when try to save data.
java.lang.String setMemberPermissions(java.lang.String realmName,
java.lang.String aclName,
java.lang.String memberName,
java.util.Vector permissions,
boolean isNegative,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException,
java.security.acl.NotOwnerException,
java.io.IOException
realmName - the realm name.aclName - the new Acl name.memberName - the member name, can be a user name or a group name.permissions - the permissions that set to this user. permissions contained in Vector are defined
in jet.server.api.Permissions.isNegative - whether the permissions is negative.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException - if acl does not exist.
java.security.acl.NotOwnerException - if the Principal attempting the modification is not an owner.
java.io.IOException - if error occurs when try to save data.Permissions
java.lang.String removeMemberFromAcl(java.lang.String realmName,
java.lang.String aclName,
java.lang.String memberName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException,
java.security.acl.NotOwnerException,
java.io.IOException
realmName - the realm name.aclName - the new Acl name.memberName - the member name, can be a user name or a group name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException - if acl does not exist.
java.security.acl.NotOwnerException - if the Principal attempting the modification is not an owner.
java.io.IOException - if error occurs when try to save data.
java.util.Enumeration getAclNames(java.lang.String realmName)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.util.Enumeration getAcls(java.lang.String realmName)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.security.acl.Acl getAcl(java.lang.String realmName,
java.lang.String aclName)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException
realmName - the realm name.aclName - the Acl name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException - if acl does not exist.
java.util.Enumeration getProtections(java.lang.String realmName)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.lang.String getCombinedAclName(java.lang.String realmName,
java.lang.String resourcePath)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.resourcePath - the resource node represented by path.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.lang.String addProtection(java.lang.String realmName,
java.lang.String resourcePath,
java.lang.String aclName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
java.io.IOException
realmName - the realm name.resourcePath - the resource node represented by path.aclName - the Acl name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.io.IOException - if error occurs when try to save data.
java.lang.String removeProtection(java.lang.String realmName,
java.lang.String resourcePath,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
java.io.IOException
realmName - the realm name.resourcePath - the resource node represented by path.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.io.IOException - if error occurs when try to save data.
java.lang.String editProtection(java.lang.String realmName,
java.lang.String resourcePath,
java.lang.String aclName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchAclException
realmName - the realm name.resourcePath - the resource node represented by path.aclName - the Acl name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchAclException
java.lang.String setNoAudit(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.userName - the user name.b - whether logs this user's MANAGE and ACCESS actions.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
java.lang.String setAuditFileAccessSuccess(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.userName - the user name.b - whether logs this user's successful ACCESS actions.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
java.lang.String setAuditFileAccessFail(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.userName - the user name.b - whether logs this user's failing ACCESS actions.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
java.lang.String setAuditManageSuccess(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.userName - the user name.b - whether logs this user's MANAGE actions.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
java.lang.String setAuditManageFail(java.lang.String realmName,
java.lang.String userName,
boolean b,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException,
java.io.IOException
realmName - the realm name.userName - the user name.b - whether logs this user's failing MANAGE actions.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.io.IOException - if error occurs when try to save data.
boolean isNoAudit(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isAuditFileAccessSuccess(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isAuditFileAccessFail(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isAuditManageSuccess(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
boolean isAuditManageFail(java.lang.String realmName,
java.lang.String userName)
throws NoSuchRealmException,
BadRealmException,
NoSuchUserException
realmName - the realm name.userName - the user name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
java.lang.String addRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String description,
java.lang.String parentRoleName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
RoleExistsException
realmName - the realm name.roleName - the new role name.description - the new role description.parentRoleName - the role's parent role name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
RoleExistsException - if role exist.
java.lang.String addRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String description,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
RoleExistsException
realmName - the realm name.roleName - the new role name.description - the new role description.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
RoleExistsException - if role exist.
java.lang.String removeRole(java.lang.String realmName,
java.lang.String roleName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException,
NoSuchRoleException
realmName - the realm name.roleName - the new role name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
java.util.Vector getAllRoles(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
JRole[] getAllJRoles(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.JRole
java.util.Vector getAllRoleNames(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the user who request this action.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
Role getRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName)
throws NoSuchRealmException,
BadRealmException,
NoSuchRoleException
submitter - the user who request this action.realmName - the realm name.roleName - the role name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
JRole getJRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName)
throws NoSuchRealmException,
BadRealmException,
NoSuchRoleException
submitter - the user who request this action.realmName - the realm name.roleName - the role name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.JRole
int getRoleMemberCount(java.lang.String realmName,
java.lang.String roleName)
throws NoSuchRealmException,
BadRealmException,
NoSuchRoleException
realmName - the realm name.roleName - the role name.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
java.util.Vector getSubRolesByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's nameroleName - the role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
JRole[] getSubJRolesByJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's nameroleName - the role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.JRole
java.util.Vector getSubUsersByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's nameroleName - the role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
JUser[] getSubJUsersByJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's nameroleName - the role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.JUser
java.lang.String removeRoleFromParentRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String roleName,
java.lang.String parentRoleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
submitter - the submitter's namerealmName - the realm name.roleName - the name of role that will be remove from a parent role.parentRoleName - the parent role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
java.lang.String removeUserFromParentRole(java.lang.String submitter,
java.lang.String realmName,
java.lang.String userName,
java.lang.String parentRoleName)
throws NoSuchRoleException,
NoSuchUserException,
NoSuchRealmException,
BadRealmException
submitter - the submitter's namerealmName - the realm name.userName - the name of user that will be remove from a parent role.parentRoleName - the parent role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
NoSuchUserException - if user does not exist.
java.util.Vector getSubUsersNameByRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's nameroleName - the role's name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
java.lang.String addSubUserToRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subUserName,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchUserException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's namesubUserName - the sub user's nameroleName - the role's name
NoSuchUserException - if user does not exist.
NoSuchRoleException - if role does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.lang.String addSubRoleToRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String subRoleName,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm name.submitter - the submitter's namesubRoleName - the sub role's nameroleName - the role's name
NoSuchRoleException - if role does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.util.Vector getReferUsers(java.lang.String realmName,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm name.userName - the user name
NoSuchUserException - if the user specified by userName not exist.
NoSuchRealmException - if the realm specified by realmName does not exist.
java.util.Vector getReferRoles(java.lang.String realmName,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm nameuserName - the user name
NoSuchUserException - if the user specified by userName not exist.
NoSuchRealmException - if the realm specified by realmName does not exist.boolean isAdminUser(java.lang.String userName)
userName - the user's name
void setUserPrivileges(java.lang.String userName,
java.util.Vector privileges)
setUserPrivileges(String realmName,
String submitter,
String userName,
Vector privileges)
throws NoSuchUserException, NoSuchRealmException;.
userName - the user nameprivileges - a Vector save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
java.lang.String setUserPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.util.Vector privileges)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm namesubmitter - the submitter nameuserName - the user's nameprivileges - a Vector save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
NoSuchUserException - if user does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
void setRolePrivileges(java.lang.String roleName,
java.util.Vector privileges)
setRolePrivileges(String realmName,
String submitter,
String roleName,
Vector privileges)
throws NoSuchRoleException, NoSuchRealmException;.
roleName - the user nameprivileges - a Vector save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
java.lang.String setRolePrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.util.Vector privileges)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm'a namesubmitter - the submitter's nameroleName - roleName the user nameprivileges - a Vector save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
NoSuchRoleException - if role does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException
java.lang.String setGroupPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.util.Vector privileges)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm'a namesubmitter - the submitter's namegroupName - groupName the group nameprivileges - a Vector save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
NoSuchGroupException - if group does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmExceptionjava.util.Vector getUserPrivileges(java.lang.String userName)
getUserPrivileges(String realmName,
String submitter,
String userName,)
throws NoSuchUserException, NoSuchRealmException;.
userName - the user name
java.util.Vector getUserPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameuserName - the user's name
NoSuchUserException - if user does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.java.util.Vector getRolePrivileges(java.lang.String roleName)
getRolePrivileges(String realmName,
String submitter,
String roleName,)
throws NoSuchRoleException, NoSuchRealmException;.
roleName - the role name
java.util.Vector getRolePrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's nameroleName - the role's name
NoSuchRoleException - if role does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException
java.util.Vector getGroupPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's namegroupName - the group's name
NoSuchGroupException - if group does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException
java.util.Hashtable[] getPrivileges(java.lang.String realmName,
java.lang.String submitter)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's name
Hashtable array, which contains three Hashtable objects. The first
Hashtable contains several user/privileges pair to represent defined privileges.
In this Hashtable object, key is user name, value is a Vector object which contains all privileges
The second Hashtable object contains several role/privileges pair to represent
defined privileges and its structure is similar to user/privileges.
The third Hashtable object contains several group/privileges pair to represent
defined privileges and its structure is similar to user/privileges.
Or null if the user/role/group has not permission to get privileges.
NoSuchGroupException - if group does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
void setPrivileges(java.lang.String realmName,
java.lang.String submitter,
java.util.Hashtable[] privileges)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameprivileges - a Hashtable array, which may contain three Hashtable objects.
The first Hashtable contains several user/privileges pair to represent privileges.
In this Hashtable object, key is user name, value is a Vector object which contains all privileges
The second Hashtable object contains several role/privileges pair to represent
defined privileges and its structure is similar to user/privileges
The third Hashtable object contains several group/privileges pair to represent
defined privileges and its structure is similar to user/privileges
The structure of Hashtable[] privileges is:
NoSuchUserException - if user does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.java.util.Vector getPrivilegedUsers(java.lang.String privilege)
getPrivilegedUsers(String realmName,
String submitter,
String privilege,)
throws NoSuchRealmException;.
privilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
java.util.Vector getPrivilegedUsers(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege)
throws NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
NoSuchRealmException - if realm specified by realmName does not exist.java.util.Vector getPrivilegedRoles(java.lang.String privilege)
getPrivilegedRoles(String realmName,
String submitter,
String privilege,)
throws NoSuchRealmException;.
privilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
java.util.Vector getPrivilegedRoles(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege)
throws NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
NoSuchRealmException - if realm specified by realmName does not exist.
java.util.Vector getPrivilegedGroups(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege)
throws NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIES
NoSuchRealmException - if realm specified by realmName does not exist.
void addPrivilegedUsers(java.lang.String privilege,
java.util.Vector users)
addPrivilegedUsers(String realmName,
String submitter,
String privilege,
Vector users)
throws NoSuchUserException, NoSuchRealmException;.
privilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESusers - a Vector save the users' names
java.lang.String addPrivilegedUsers(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector users)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESusers - a Vector save the users' names
NoSuchUserException - if user specified by users does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
void addPrivilegedRoles(java.lang.String privilege,
java.util.Vector roles)
addPrivilegedRoles(String realmName,
String submitter,
String privilege,
Vector groups)
throws NoSuchGroupException, NoSuchRealmException, BadRealmException;.
privilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESroles - a Vector save the roles' names
java.lang.String addPrivilegedRoles(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector roles)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESroles - a Vector save the roles' names
NoSuchRoleException - if role specified by roles does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.lang.String addPrivilegedGroups(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector groups)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESgroups - a Vector save the groups' names
NoSuchGroupException - if group specified by groups does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
java.lang.String removePrivilegedUsers(java.lang.String privilege,
java.util.Vector users)
removePrivilegedUsers(String realmName,
String submitter,
String privilege,
Vector users)
throws NoSuchUserException, NoSuchRealmException;.
privilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESusers - a Vector save the users' names
java.lang.String removePrivilegedUsers(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector users)
throws NoSuchUserException,
NoSuchRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESusers - a Vector save the users' names
NoSuchUserException - if user specified by users does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
java.lang.String removePrivilegedRoles(java.lang.String privilege,
java.util.Vector roles)
removePrivilegedRoles(String realmName,
String submitter,
String privilege,
Vector roles)
throws NoSuchRoleException, NoSuchRealmException;.
privilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESroles - a Vector save the roles' names
java.lang.String removePrivilegedRoles(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector roles)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESroles - a Vector save the roles' names
NoSuchRoleException - if role specified by roles does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException
java.lang.String removePrivilegedGroups(java.lang.String realmName,
java.lang.String submitter,
java.lang.String privilege,
java.util.Vector groups)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm's namesubmitter - the submitter's nameprivilege - a String save the available privilege such as APIConst.PRIVILEGE_CREATE_ANALYSIS_REPORT,
APIConst.PRIVILEGE_PUBLISH_REPORT, APIConst.PRIVILEGE_ACCESS_ADVANCED_PROPERTIESgroups - a Vector save the groups' names
NoSuchGroupException - if group specified by groups does not exist.
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException
boolean isEditing(java.lang.String realm,
int action)
throws NoSuchRealmException
realm - the realm's nameaction - the server security web UI's action:
NoSuchRealmException - if realm specified by realmName does not exist.SecurityWebAdaptor
boolean isJUserInJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String roleName)
throws NoSuchUserException,
NoSuchRoleException,
NoSuchRealmException,
NoSuchGroupException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.userName - the user nameroleName - the role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
NoSuchRoleException - if role does not exist.
NoSuchGroupException
boolean isJUserInJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String groupName)
throws NoSuchUserException,
NoSuchGroupException,
NoSuchRealmException,
NoSuchRoleException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.userName - the user namegroupName - the group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchUserException - if user does not exist.
NoSuchGroupException - if group does not exist.
NoSuchRoleException
boolean isJGroupInJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String roleName)
throws NoSuchRoleException,
NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group nameroleName - the role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
NoSuchRoleException - if role does not exist.
boolean isJGroupInJGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String parentName)
throws NoSuchGroupException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the group nameparentName - the parent group name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchGroupException - if group does not exist.
boolean isJRoleInJRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.lang.String parentName)
throws NoSuchRoleException,
NoSuchRealmException,
BadRealmException
realmName - the realm namesubmitter - the user who request this action.groupName - the role nameparentName - the parent role name
NoSuchRealmException - if realm specified by realmName does not exist.
BadRealmException - if specified realm data structures are bad.
NoSuchRoleException - if role does not exist.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||