public interface RoleConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticatedUsersToRole(java.lang.String role)
Add the all authenticated users to the role in RoleConfiguration.
|
void |
addEveryoneToRole(java.lang.String role)
Add the everyone to the role in RoleConfiguration.
|
void |
addGroupsToRole(java.lang.String role,
java.util.List groups)
Add the groups to the role in RoleConfiguration.
|
void |
addServerToRole(java.lang.String role)
Add the server to the role in RoleConfiguration.
|
void |
addUsersToRole(java.lang.String role,
java.util.List users)
Add the users to the role in RoleConfiguration.
|
void |
commit()
This commits the changes in Roleconfiguration.
|
void |
delete()
This deletes the RoleConfiguration from the RoleConfigurationFactory.
|
java.lang.String |
getContextID()
This returns the contextID of the RoleConfiguration.
|
void |
removeAuthenticatedUsersFromRole(java.lang.String role)
Remove the all authenticated users to the role in RoleConfiguration.
|
void |
removeEveryoneFromRole(java.lang.String role)
Remove the everyone to the role in RoleConfiguration.
|
void |
removeGroupsFromRole(java.lang.String role,
java.util.List groups)
Remove the groups to the role in RoleConfiguration.
|
void |
removeServerFromRole(java.lang.String role)
Remove the server to the role in RoleConfiguration.
|
void |
removeUsersFromRole(java.lang.String role,
java.util.List users)
Remove the users to the role in RoleConfiguration.
|
void addUsersToRole(java.lang.String role,
java.util.List users)
throws RoleConfigurationException
role - the role name.users - the list of the user names.RoleConfigurationException - if the users can't be added.void removeUsersFromRole(java.lang.String role,
java.util.List users)
throws RoleConfigurationException
role - the role name.users - the list of the user names.RoleConfigurationException - if the users can't be removed.void addGroupsToRole(java.lang.String role,
java.util.List groups)
throws RoleConfigurationException
role - the role name.groups - the list of the group names.RoleConfigurationException - if the groups can't be added.void removeGroupsFromRole(java.lang.String role,
java.util.List groups)
throws RoleConfigurationException
role - the role name.groups - the list of the group names.RoleConfigurationException - if the groups can't be removed.void addEveryoneToRole(java.lang.String role)
throws RoleConfigurationException
role - the role name.RoleConfigurationException - if the everyone can't be added.void removeEveryoneFromRole(java.lang.String role)
throws RoleConfigurationException
role - the role name.RoleConfigurationException - if the everyone can't be removed.void addAuthenticatedUsersToRole(java.lang.String role)
throws RoleConfigurationException
role - the role name.RoleConfigurationException - if the authentication users
can't be added.void removeAuthenticatedUsersFromRole(java.lang.String role)
throws RoleConfigurationException
role - the role name.RoleConfigurationException - if the authentication users
can't be removed.void addServerToRole(java.lang.String role)
throws RoleConfigurationException
role - the role name.RoleConfigurationException - if the server can't
be added.void removeServerFromRole(java.lang.String role)
throws RoleConfigurationException
role - the role name.RoleConfigurationException - if the server can't
be removed.void commit()
throws RoleConfigurationException
RoleConfigurationException - if the changes can't be
committed.void delete()
throws RoleConfigurationException
RoleConfigurationException - if the RoleConfiguration can't
be deleted.java.lang.String getContextID()
throws RoleConfigurationException
RoleConfigurationException - if the contextID can't be
gotten.