| Modifier and Type | Class and Description |
|---|---|
class |
DisplayRestrictedDataToSelfPolicy
Permit display of various data if it relates to the user's associated
individual.
|
class |
PermissionsPolicy
The user is authorized to perform the RequestedAction if one of his
Permissions will authorize it.
|
class |
PolicyList
This is a List of Policy Objects that implements PolciyIface.
|
class |
RequestPolicyList
Allow us to store policies in a Request, in addition to those in the
ServletContext
|
class |
RestrictHomeMenuItemEditingPolicy
Don't allow user to edit or drop the HomeMenuItem statement.
|
class |
RootUserPolicy
If the user has an IsRootUser identifier, they can do anything!
On setup, check to see that the specified root user exists.
|
class |
SelfEditingPolicy
Policy to use for Vivo Self-Editing based on NetId for use at Cornell.
|
| Modifier and Type | Method and Description |
|---|---|
static PolicyIface |
ServletPolicyList.getPolicies(javax.servlet.http.HttpServletRequest hreq)
Get a copy of the current list of policies.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ServletPolicyList.addPolicy(javax.servlet.ServletContext sc,
PolicyIface policy)
Add the policy to the end of the list.
|
static void |
RequestPolicyList.addPolicy(javax.servlet.ServletRequest request,
PolicyIface policy) |
static void |
ServletPolicyList.addPolicyAtFront(javax.servlet.ServletContext sc,
PolicyIface policy)
Add the policy to the front of the list.
|
static boolean |
PolicyHelper.isAuthorizedForActions(IdentifierBundle ids,
PolicyIface policy,
AuthorizationRequest ar)
Are these actions authorized for these identifiers by these policies?
|
void |
PolicyDecisionLogger.log(PolicyIface policy,
PolicyDecision pd)
If the logger and the policy and the decision all pass the restrictions,
write to the log.
|
static void |
ServletPolicyList.replacePolicy(javax.servlet.ServletContext sc,
PolicyIface policy)
Replace the first instance of this class of policy in the list.
|
| Constructor and Description |
|---|
PolicyList(Collection<PolicyIface> policies) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRelationshipPolicy
A collection of building-block methods so we can code a policy based on the
relationship of the object being edited to the identity of the user doing the
editing.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RequestedAction.isAuthorized(IdentifierBundle ids,
PolicyIface policy)
For authorization, just ask the Policy.
|
abstract boolean |
AuthorizationRequest.isAuthorized(IdentifierBundle ids,
PolicyIface policy) |
| Constructor and Description |
|---|
HideFromDisplayByPolicyFilter(IdentifierBundle idBundle,
PolicyIface policy) |
Copyright © 2022. All rights reserved.