Uses of Interface
edu.cornell.mannlib.vitro.webapp.auth.policy.ifaces.PolicyIface
-
-
Uses of PolicyIface in edu.cornell.mannlib.vitro.webapp.auth.policy
Classes in edu.cornell.mannlib.vitro.webapp.auth.policy that implement PolicyIface Modifier and Type Class Description classDisplayRestrictedDataToSelfPolicyPermit display of various data if it relates to the user's associated individual.classPermissionsPolicyThe user is authorized to perform the RequestedAction if one of his Permissions will authorize it.classPolicyListThis is a List of Policy Objects that implements PolciyIface.classRequestPolicyListAllow us to store policies in a Request, in addition to those in the ServletContextclassRestrictHomeMenuItemEditingPolicyDon't allow user to edit or drop the HomeMenuItem statement.classRootUserPolicyIf the user has an IsRootUser identifier, they can do anything! On setup, check to see that the specified root user exists.classSelfEditingPolicyPolicy to use for Vivo Self-Editing based on NetId for use at Cornell.Methods in edu.cornell.mannlib.vitro.webapp.auth.policy that return PolicyIface Modifier and Type Method Description static PolicyIfaceServletPolicyList. getPolicies(javax.servlet.http.HttpServletRequest hreq)Get a copy of the current list of policies.Methods in edu.cornell.mannlib.vitro.webapp.auth.policy with parameters of type PolicyIface Modifier and Type Method Description static voidRequestPolicyList. addPolicy(javax.servlet.ServletRequest request, PolicyIface policy)static voidServletPolicyList. addPolicy(javax.servlet.ServletContext sc, PolicyIface policy)Add the policy to the end of the list.static voidServletPolicyList. addPolicyAtFront(javax.servlet.ServletContext sc, PolicyIface policy)Add the policy to the front of the list.static booleanPolicyHelper. isAuthorizedForActions(IdentifierBundle ids, PolicyIface policy, AuthorizationRequest ar)Are these actions authorized for these identifiers by these policies?voidPolicyDecisionLogger. log(PolicyIface policy, PolicyDecision pd)If the logger and the policy and the decision all pass the restrictions, write to the log.static voidServletPolicyList. replacePolicy(javax.servlet.ServletContext sc, PolicyIface policy)Replace the first instance of this class of policy in the list.Constructor parameters in edu.cornell.mannlib.vitro.webapp.auth.policy with type arguments of type PolicyIface Constructor Description PolicyList(Collection<PolicyIface> policies) -
Uses of PolicyIface in edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships
Classes in edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships that implement PolicyIface Modifier and Type Class Description classAbstractRelationshipPolicyA 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. -
Uses of PolicyIface in edu.cornell.mannlib.vitro.webapp.auth.requestedAction
Methods in edu.cornell.mannlib.vitro.webapp.auth.requestedAction with parameters of type PolicyIface Modifier and Type Method Description abstract booleanAuthorizationRequest. isAuthorized(IdentifierBundle ids, PolicyIface policy)booleanRequestedAction. isAuthorized(IdentifierBundle ids, PolicyIface policy)For authorization, just ask the Policy. -
Uses of PolicyIface in edu.cornell.mannlib.vitro.webapp.dao.filtering.filters
Constructors in edu.cornell.mannlib.vitro.webapp.dao.filtering.filters with parameters of type PolicyIface Constructor Description HideFromDisplayByPolicyFilter(IdentifierBundle idBundle, PolicyIface policy)
-