org.kuali.rice.krms.impl.authorization
Class AgendaAuthorizationServiceImpl
java.lang.Object
org.kuali.rice.krms.impl.authorization.AgendaAuthorizationServiceImpl
- All Implemented Interfaces:
- AgendaAuthorizationService
public class AgendaAuthorizationServiceImpl
- extends Object
- implements AgendaAuthorizationService
Method Summary |
boolean |
isAuthorized(String permissionName,
String contextId)
Checks if the current user is authorized to perform the action on an agenda in the specified context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgendaAuthorizationServiceImpl
public AgendaAuthorizationServiceImpl()
isAuthorized
public boolean isAuthorized(String permissionName,
String contextId)
- Description copied from interface:
AgendaAuthorizationService
- Checks if the current user is authorized to perform the action on an agenda in the specified context.
When the contextId is unknown (i.e. at initiation of a new Agenda document) then null should be passed as
the contextId. On save the authorization needs to be checked again with the contextId. The business rules
should have taken care of this.
- Specified by:
isAuthorized
in interface AgendaAuthorizationService
- Returns:
- true if current user is authorized, false otherwise
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.