Class SelfEditingPolicy
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.policy.BaseSelfEditingPolicy
-
- edu.cornell.mannlib.vitro.webapp.auth.policy.SelfEditingPolicy
-
- All Implemented Interfaces:
PolicyIface
public class SelfEditingPolicy extends BaseSelfEditingPolicy implements PolicyIface
Policy to use for Vivo Self-Editing based on NetId for use at Cornell. All methods in this class should be thread safe and side effect free.
-
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.auth.policy.BaseSelfEditingPolicy
ctx, roleLevel
-
-
Constructor Summary
Constructors Constructor Description SelfEditingPolicy(javax.servlet.ServletContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyDecisionisAuthorized(IdentifierBundle whoToAuth, RequestedAction whatToAuth)StringtoString()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.policy.BaseSelfEditingPolicy
authorizedDecision, canModifyPredicate, canModifyResource, cantModifyPredicate, cantModifyResource, inconclusiveDecision, userNotAuthorizedToStatement
-
-
-
-
Method Detail
-
isAuthorized
public PolicyDecision isAuthorized(IdentifierBundle whoToAuth, RequestedAction whatToAuth)
- Specified by:
isAuthorizedin interfacePolicyIface
-
-