public static interface RoleMappingService.RoleDeploymentContext
RoleDeploymentContext
as returned by the Role Mapping
Service's findOrCreateDeploymentContext() method. The RoleDeploymentContext
is used
to configure role mapping policy for an application (or server administration) context.
It represents the body of policy that applies to the given context.
A RoleDeploymentContext
is always in one of three states: open, closed/inService,
or deleted. When returned by the Role Mapping service, a context is in an open state.
Policies can be added or deleted while in the open state, but the context is not
in service. Upon calling commit(), the context is closed and the policies are place
in service. Upon calling delete(), the context is taken out of service and the policies
are deleted from the Role Mapping Provider.Modifier and Type | Method and Description |
---|---|
void |
addMapping(String role,
String[] users,
String[] groups) |
void |
commit() |
void |
delete() |
void |
removeMapping(String role,
String[] users,
String[] groups) |
void |
removeRole(String role) |
Copyright © 2020. All rights reserved.