Class RequestedAction
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
-
- edu.cornell.mannlib.vitro.webapp.auth.requestedAction.RequestedAction
-
- Direct Known Subclasses:
AbstractPropertyStatementAction,AbstractResourceAction,AddNewUser,DisplayDataProperty,DisplayDataPropertyStatement,DisplayObjectProperty,DisplayObjectPropertyStatement,LoadOntology,ManageRootAccount,PublishDataProperty,PublishObjectProperty,RebuildTextIndex,RemoveUser,ServerStatus,SimpleRequestedAction,SingleParameterAction,UpdateTextIndex,UploadFile
public abstract class RequestedAction extends AuthorizationRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTION_NAMESPACEstatic StringSOME_LITERALstatic PropertySOME_PREDICATEstatic StringSOME_URI-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
AUTHORIZED, UNAUTHORIZED
-
-
Constructor Summary
Constructors Constructor Description RequestedAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetURI()In its most basic form, a RequestAction needs to have an identifier.booleanisAuthorized(IdentifierBundle ids, PolicyIface policy)For authorization, just ask the Policy.StringtoString()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
and, andAll, andAll, or
-
-
-
-
Method Detail
-
getURI
public String getURI()
In its most basic form, a RequestAction needs to have an identifier. Sometimes this will be enough.
-
isAuthorized
public final boolean isAuthorized(IdentifierBundle ids, PolicyIface policy)
For authorization, just ask the Policy. INCONCLUSIVE is not good enough.- Specified by:
isAuthorizedin classAuthorizationRequest
-
-