public interface RoleCollectionHandler
RoleCollectionHandler interface.| Modifier and Type | Method | Description |
|---|---|---|
void |
done() |
Signals the completion of the role collection.
|
void |
setRole(Resource resource,
java.lang.String roleName,
java.lang.String[] userAndGroupNames) |
Set the role to give set of users and groups for the specified resource using the supplied information.
|
void setRole(Resource resource, java.lang.String roleName, java.lang.String[] userAndGroupNames) throws ConsumptionException
resource - the Resource object to
which the role applies.roleName - a String the role name.userAndGroupNames - a String[] that defines what user names and group names that are
to be assigned to that role for the given resource.ConsumptionExceptionvoid done() throws ConsumptionException
ConsumptionException