|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@ControlInterface public interface DelegatedRolePolicyManagerControlFacade
| Method Summary | |
|---|---|
void |
addGroupsToRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> groups,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
Adds a list of groups to a role definition. |
void |
addUsersToRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> users,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
Adds a list of users to the specified role definition. |
void |
createRolePolicy(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
String roleDescription,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
Creates a visitor role. |
SortablePagedResult<String> |
getGlobalRoles(String roleProviderName,
String roleProviderVersion,
boolean scope,
int pageSize,
ResourceContext context)
Get all global roles. |
RolePolicyItem |
getRolePolicyItem(String roleProviderName,
String roleProviderVersion,
String webApp,
String roleName,
ResourceContext context)
This method is used to reteive a Role Policy item from the persistence layer. |
SortablePagedResult<String> |
getScopedRoles(String roleProviderName,
String roleProviderVersion,
String webApp,
boolean scope,
int pageSize,
ResourceContext context)
Get all the roles scoped to the specified webapp or enterprise app |
void |
purgeRole(String roleProviderName,
String roleProviderVersion,
String webApp,
String roleName,
ResourceContext context)
This method removes a role and all of its references to any security policies |
void |
removeGroupsFromRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> groups,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
Removes a list of groups from a role definition. |
void |
removeRoleFromSecurityPolicies(SecurityPolicyManagerControl secControl,
RoleProviderDescription desc,
String webApp,
String roleName,
String resourceId,
ResourceContext context)
This method will remove a role policy reference from all selected security policies that have the same resourceId. |
void |
removeRolePolicy(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
Method used to delete/remove a visitor role. |
void |
removeUsersFromRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> users,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
Removes a list of users from the specified role definition. |
void |
setRoleSegmentLogicalAnd(String roleProviderName,
String roleProviderVersion,
String webApp,
String roleName,
boolean val,
ResourceContext context)
This method removes a role and all of its references to any security policies |
void |
updateRolePolicy(RolePolicyItem item,
String newRoleName,
String roleDescription)
Updates a visitor role. |
| Method Detail |
|---|
void removeRoleFromSecurityPolicies(SecurityPolicyManagerControl secControl,
RoleProviderDescription desc,
String webApp,
String roleName,
String resourceId,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyRemoveException,
com.bea.p13n.entitlements.common.PolicyCreateException
secControl - The control for security policies.desc - The RoleProviderDerscription.webApp - The webApp application the roles are scoped to.roleName - The role name to remove.resourceId - The resourceId for the policies. The main reason there is a
one to many relationship for roles and policies is becasue there is one policy
per capability.context - The request resource context.
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyNotFoundException - Thrown by the remove policy call in P13n.
com.bea.p13n.entitlements.common.PolicyRemoveException - Thrown by the remove policy call in P13n
com.bea.p13n.entitlements.common.PolicyCreateException - Thrown if the updateSecurityPolicy call fails when removing a role policy
from the list referenced in the security policy.
void createRolePolicy(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
String roleDescription,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyCreateException,
com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webAppName - The name of the web application.roleName - The desired name of the role.roleDescription - The desired description of the role.view - The resource which access is required to perform this function.context - the resource context.
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyCreateException
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
void updateRolePolicy(RolePolicyItem item,
String newRoleName,
String roleDescription)
throws com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyCreateException,
com.bea.p13n.entitlements.common.PolicyExpressionException,
com.bea.p13n.entitlements.common.PolicyException
item - The RolePolicyItem to be updatednewRoleName - The desired name of the role.roleDescription - The desired description of the role.
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyCreateException
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyExpressionException
com.bea.p13n.entitlements.common.PolicyException
void removeRolePolicy(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyRemoveException,
com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webAppName - The WebApp name this role is scoped to.roleName - The name of the role.view - The delegated resource required to perform this function.context - the resource context.
com.bea.p13n.entitlements.common.PolicyRemoveException
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
void addUsersToRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> users,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyCreateException,
com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyExpressionException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webAppName - The web app this role is scoped to.roleName - The name of this roleusers - The list of users to add to the role definition.view - The delegated resources required to perform this function.context - the resource context.
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyCreateException
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyExpressionException
void addGroupsToRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> groups,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyExpressionException,
com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyCreateException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webAppName - The name of the webapp this role is scoped too.roleName - The name of the role.groups - The list of groups to add to the role.view - The delegated resource required to perform this function.context - the resource context.
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyExpressionException
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyCreateException
void removeUsersFromRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> users,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyCreateException,
com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyExpressionException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webAppName - The web app this role is scoped to.roleName - The name of this roleusers - The list of users to remove from the role definition.view - The delegated resources required to perform this function.context - the resource context.
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyCreateException
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyExpressionException
void removeGroupsFromRole(String roleProviderName,
String roleProviderVersion,
String webAppName,
String roleName,
List<String> groups,
com.bea.portal.tools.da.DelegatedResourceView view,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyExpressionException,
com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyCreateException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webAppName - The name of the webapp this role is scoped too.roleName - The name of the role.groups - The list of groups to remove from the role.view - The delegated resource required to perform this function.context - the resource context.
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyExpressionException
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyCreateException
RolePolicyItem getRolePolicyItem(String roleProviderName,
String roleProviderVersion,
String webApp,
String roleName,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webApp - The webapp the role was created in.roleName - The name of this role.context - the resource context.
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
SortablePagedResult<String> getScopedRoles(String roleProviderName,
String roleProviderVersion,
String webApp,
boolean scope,
int pageSize,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyRefException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webApp - The webapp the roles are pooled against.
Pass in null to retrieve enterprise app scoped roles.scope - The scope used to retrieve roles. Pass in true to restrict the
scope and return only editable roles. Pass in false to
return all roles.pageSize - The size of iterator element stored within the PagedResult.context - the resource context
com.bea.p13n.entitlements.common.PolicyRefException - If no roles are found.
SortablePagedResult<String> getGlobalRoles(String roleProviderName,
String roleProviderVersion,
boolean scope,
int pageSize,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyRefException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.scope - The scope used to retrieve roles. Pass in true to restrict the
scope and return only editable roles. Pass in false to
return all roles.pageSize - The size of iterator element stored within the PagedResult.context - the resource context
com.bea.p13n.entitlements.common.PolicyRefException - If no roles are found.
void purgeRole(String roleProviderName,
String roleProviderVersion,
String webApp,
String roleName,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyRefException,
com.bea.p13n.entitlements.common.PolicyRemoveException,
com.bea.p13n.entitlements.common.PolicyCreateException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webApp - The webapp the role was created in.roleName - The name of the role to delete.context - the resource context.
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyRefException
com.bea.p13n.entitlements.common.PolicyRemoveException
com.bea.p13n.entitlements.common.PolicyCreateException
void setRoleSegmentLogicalAnd(String roleProviderName,
String roleProviderVersion,
String webApp,
String roleName,
boolean val,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyExistsException,
com.bea.p13n.entitlements.common.PolicyExpressionException,
com.bea.p13n.entitlements.common.PolicyNotFoundException,
com.bea.p13n.entitlements.common.PolicyException,
com.bea.p13n.entitlements.common.PolicyCreateException
roleProviderName - The role provider name this role will be created in.roleProviderVersion - The role provider version.webApp - The webapp the role was created in.roleName - The name of the role to update.val - true for AND, false for OR.context - the resource context.
com.bea.p13n.entitlements.common.PolicyNotFoundException
com.bea.p13n.entitlements.common.PolicyException
com.bea.p13n.entitlements.common.PolicyRefException
com.bea.p13n.entitlements.common.PolicyExistsException
com.bea.p13n.entitlements.common.PolicyExpressionException
com.bea.p13n.entitlements.common.PolicyCreateException
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||