Package com.abstratt.kirra
Class AuthorizationHandler
- java.lang.Object
-
- com.abstratt.kirra.AuthorizationHandler
-
public class AuthorizationHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthorizationHandler(InstanceManagement instanceManagement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkEntityActionAuthorized(TypeRef entityRef, String actionName)
void
checkEntityListAuthorized(TypeRef entityRef)
void
checkEntityQueryAuthorized(TypeRef entityRef, String finderName)
void
checkInstanceActionAuthorized(TypeRef entityRef, String objectId, String actionName)
void
checkInstanceCreationAuthorized(TypeRef entityRef)
void
checkInstanceDeleteAuthorized(TypeRef entityRef, String objectId)
void
checkInstanceReadAuthorized(TypeRef entityRef, String objectId)
void
checkInstanceUpdateAuthorized(TypeRef entityRef, String objectId)
-
-
-
Constructor Detail
-
AuthorizationHandler
public AuthorizationHandler(InstanceManagement instanceManagement)
-
-
Method Detail
-
checkInstanceReadAuthorized
public void checkInstanceReadAuthorized(TypeRef entityRef, String objectId)
-
checkInstanceUpdateAuthorized
public void checkInstanceUpdateAuthorized(TypeRef entityRef, String objectId)
-
checkInstanceDeleteAuthorized
public void checkInstanceDeleteAuthorized(TypeRef entityRef, String objectId)
-
checkInstanceActionAuthorized
public void checkInstanceActionAuthorized(TypeRef entityRef, String objectId, String actionName)
-
checkEntityListAuthorized
public void checkEntityListAuthorized(TypeRef entityRef)
-
checkInstanceCreationAuthorized
public void checkInstanceCreationAuthorized(TypeRef entityRef)
-
checkEntityActionAuthorized
public void checkEntityActionAuthorized(TypeRef entityRef, String actionName)
-
-