public interface RoleCollectionHandler
RoleCollectionHandler interface.| Modifier and Type | Method and Description |
|---|---|
void |
done()
Signals the completion of the role collection.
|
void |
setRole(Resource resource,
String roleName,
String[] userAndGroupNames)
Set the role to give set of users and groups for the specified resource using the supplied information.
|
void setRole(Resource resource, String roleName, 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.ConsumptionException - if the roles cannot
be consumed or processing of the roles fails.ConsumptionExceptionvoid done() throws ConsumptionException
ConsumptionException - if the roles cannot
be consumed or processing of the roles fail.ConsumptionException