public abstract class AwardAuthorizer extends TaskAuthorizerImpl
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
AwardAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasPermission(String userId,
Award award,
String permissionName)
Does the given user has the permission for this award?
|
abstract boolean |
isAuthorized(String userId,
AwardTask task)
Is the user authorized to execute the given Award task?
|
boolean |
isAuthorized(String userId,
Task task)
Is the user authorized to execute the given task?
|
void |
setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
Set the Kra Authorization Service.
|
getTaskName, hasUnitPermission, hasUnitPermission, setKcPersonService, setKraWorkflowService, setTaskName, setUnitAuthorizationServicepublic final boolean isAuthorized(String userId, Task task)
TaskAuthorizertask - the taskTaskAuthorizer.isAuthorized(java.lang.String, org.kuali.kra.authorization.Task)public abstract boolean isAuthorized(String userId, AwardTask task)
username - the user's unique usernametask - the award taskpublic void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - protected final boolean hasPermission(String userId, Award award, String permissionName)
username - the unique username of the useraward - the awardpermissionName - the name of the permissionCopyright © 2013 The Kuali Foundation. All Rights Reserved.