org.kuali.rice.krms.impl.authorization
Class AgendaAuthorizationServiceImpl

java.lang.Object
  extended by org.kuali.rice.krms.impl.authorization.AgendaAuthorizationServiceImpl
All Implemented Interfaces:
AgendaAuthorizationService

public class AgendaAuthorizationServiceImpl
extends Object
implements AgendaAuthorizationService


Constructor Summary
AgendaAuthorizationServiceImpl()
           
 
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
 

Constructor Detail

AgendaAuthorizationServiceImpl

public AgendaAuthorizationServiceImpl()
Method Detail

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-2014 The Kuali Foundation. All Rights Reserved.