|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
---|---|
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. |
Method Detail |
public 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.public 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.public 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.public 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.public void addEveryoneToRole(java.lang.String role) throws RoleConfigurationException
role
- the role name.
RoleConfigurationException
- if the everyone can't be added.public void removeEveryoneFromRole(java.lang.String role) throws RoleConfigurationException
role
- the role name.
RoleConfigurationException
- if the everyone can't be removed.public void addAuthenticatedUsersToRole(java.lang.String role) throws RoleConfigurationException
role
- the role name.
RoleConfigurationException
- if the authentication users
can't be added.public void removeAuthenticatedUsersFromRole(java.lang.String role) throws RoleConfigurationException
role
- the role name.
RoleConfigurationException
- if the authentication users
can't be removed.public void addServerToRole(java.lang.String role) throws RoleConfigurationException
role
- the role name.
RoleConfigurationException
- if the server can't
be added.public void removeServerFromRole(java.lang.String role) throws RoleConfigurationException
role
- the role name.
RoleConfigurationException
- if the server can't
be removed.public void commit() throws RoleConfigurationException
RoleConfigurationException
- if the changes can't be
committed.public void delete() throws RoleConfigurationException
RoleConfigurationException
- if the RoleConfiguration can't
be deleted.public java.lang.String getContextID() throws RoleConfigurationException
RoleConfigurationException
- if the contextID can't be
gotten.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |