public abstract class CommitteeAuthorizerBase extends TaskAuthorizerImpl
| Modifier and Type | Field and Description |
|---|---|
protected KraAuthorizationService |
kraAuthorizationService |
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
CommitteeAuthorizerBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasPermission(String userId,
CommitteeBase committee,
String permissionName)
Does the given user has the permission for this committee?
|
abstract boolean |
isAuthorized(String userId,
CommitteeTaskBase task)
Is the user authorized to execute the given committee 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, setUnitAuthorizationServiceprotected KraAuthorizationService kraAuthorizationService
public 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, CommitteeTaskBase task)
username - the user's unique usernametask - the committee taskpublic void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - protected final boolean hasPermission(String userId, CommitteeBase committee, String permissionName)
username - the unique username of the usercommittee - the committeepermissionName - the name of the permissionCopyright © 2013 The Kuali Foundation. All Rights Reserved.