|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.admin.server.AbstractAdminImpl
com.metamatrix.admin.server.ServerSecurityAdminImpl
public class ServerSecurityAdminImpl
| Field Summary |
|---|
| Fields inherited from class com.metamatrix.admin.server.AbstractAdminImpl |
|---|
parent, registry |
| Constructor Summary | |
|---|---|
ServerSecurityAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
|
|
| 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[] xmlContents,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerSecurityAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
| Method Detail |
|---|
public void assignRoleToGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdminGroup the given Administrative Role.
assignRoleToGroup in interface ServerSecurityAdminroleIdentifier - one of AdminRoles.groupIdentifier - the unique identifier for the Principal. The WILDCARD cannot be used here.
AdminException - if there's a system error.com.metamatrix.admin.api.server.ServerSecurityAdmin#addRoleToGroup(java.lang.String, java.lang.String)
public void removeRoleFromGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdminGroup.
removeRoleFromGroup in interface ServerSecurityAdminroleIdentifier - one of AdminRolesgroupIdentifier - the unique identifier for the Principal. The WILDCARD cannot be used here.
AdminException - if there's a system error.ServerSecurityAdmin.removeRoleFromGroup(java.lang.String, java.lang.String)
public java.util.Collection getRolesForUser(java.lang.String userIdentifier)
throws AdminException
ServerSecurityAdmin
getRolesForUser in interface ServerSecurityAdminuserIdentifier - 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.ServerSecurityAdmin.getRolesForUser(java.lang.String)
public java.util.Collection getGroupsForUser(java.lang.String userIdentifier)
throws AdminException
ServerSecurityAdmin
getGroupsForUser in interface ServerSecurityAdminuserIdentifier - 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.com.metamatrix.admin.api.server.ServerSecurityAdmin#getGroupsForUser(java.lang.String, boolean)
public java.util.Collection getGroups(java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdmingroupIdentifier.
getGroups in interface ServerSecurityAdmingroupIdentifier - 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.ServerSecurityAdmin.getGroups(java.lang.String)
public java.util.Collection getRolesForGroup(java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdmin
getRolesForGroup in interface ServerSecurityAdmingroupIdentifier - 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.ServerSecurityAdmin.getRolesForGroup(java.lang.String)
public java.lang.String importDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion,
char[] xmlContents,
AdminOptions options)
throws AdminException
ServerSecurityAdmin
importDataRoles in interface ServerSecurityAdminvdbName - - target name of the VDB, the roles to be imported undervdbVersion - - target version of the vdb, the roles to be imported underxmlContents - - character data array containing the XML file which defines the rolesoptions - - options to overwrite in case the matching roles already exist.
AdminExceptionServerSecurityAdmin.importDataRoles(java.lang.String, java.lang.String, char[], com.metamatrix.admin.api.objects.AdminOptions)
public char[] exportDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion)
throws AdminException
ServerSecurityAdmin
exportDataRoles in interface ServerSecurityAdminvdbName - - Name of the vdbvdbVersion - - version of the vdb
AdminExceptionServerSecurityAdmin.exportDataRoles(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||