|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerSecurityAdmin
Interface that exposes MetaMatrix security system for administration.
Clients should not code directly to this interface but should instead use ServerAdmin.
| Method Summary | |
|---|---|
void |
assignRoleToGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
Assign to the given Group the given Administrative Role. |
char[] |
exportDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion)
Export the data roles defined for the given vdb fromthe current system |
java.util.Collection |
getGroups(java.lang.String groupIdentifier)
Get the group denoted by the given groupIdentifier. |
java.util.Collection |
getGroupsForUser(java.lang.String userIdentifier)
Get the group memberships for the given user. |
java.util.Collection |
getRolesForGroup(java.lang.String groupIdentifier)
Get the Collection of administrative role names possessed by the given group, if any. |
java.util.Collection |
getRolesForUser(java.lang.String userIdentifier)
Get the Collection of administrative role names possessed by the given user, if any. |
java.lang.String |
importDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion,
char[] data,
AdminOptions options)
Import the data Roles for given vdb and version into the connected server |
void |
removeRoleFromGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
Remove an administrative role from the given Group. |
| Method Detail |
|---|
java.util.Collection getRolesForGroup(java.lang.String groupIdentifier)
throws AdminException
groupIdentifier - The unique identifier for the Group. This is group name. A user is a Principal and a
Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains.
The WILDCARD cannot be used here.
Roles.
AdminException - if there's a system error.
java.util.Collection getRolesForUser(java.lang.String userIdentifier)
throws AdminException
userIdentifier - The unique identifier for the user. This is generally a user name. A user is a Principal and a
Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains.
The WILDCARD cannot be used here.
String role names.
AdminException - if there's a system error.
java.util.Collection getGroupsForUser(java.lang.String userIdentifier)
throws AdminException
userIdentifier - The unique identifier for the user. This is generally a user name. A user is a Principal and a
Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains.
The WILDCARD cannot be used here.
AdminException - if there's a system error.
java.util.Collection getGroups(java.lang.String groupIdentifier)
throws AdminException
groupIdentifier.
groupIdentifier - The unique identifier for the Group. This is generally a group name. A group is a Principal and
a Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains. WILDCARD identifier, all all users in the system will
retrieved.
AdminException - if there's a system error.
void assignRoleToGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
throws AdminException
Group the given Administrative Role.
roleIdentifier - one of AdminRoles.groupIdentifier - the unique identifier for the Principal. The WILDCARD cannot be used here.
AdminException - if there's a system error.
void removeRoleFromGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
throws AdminException
Group.
roleIdentifier - one of AdminRolesgroupIdentifier - the unique identifier for the Principal. The WILDCARD cannot be used here.
AdminException - if there's a system error.
java.lang.String importDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion,
char[] data,
AdminOptions options)
throws AdminException
vdbName - - target name of the VDB, the roles to be imported undervdbVersion - - target version of the vdb, the roles to be imported underdata - - character data array containing the XML file which defines the rolesoptions - - options to overwrite in case the matching roles already exist.
AdminException
char[] exportDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion)
throws AdminException
vdbName - - Name of the vdbvdbVersion - - version of the vdb
AdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||