Interface AgendaAuthorizationService

All Known Implementing Classes:
AgendaAuthorizationServiceImpl

public interface AgendaAuthorizationService
This class contains the authorization for KRMS Agendas
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthorized(String permissionName, String contextId)
    Checks if the current user is authorized to perform the action on an agenda in the specified context.
  • Method Details

    • isAuthorized

      boolean isAuthorized(String permissionName, String contextId)
      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.
      Parameters:
      permissionName -
      contextId -
      Returns:
      true if current user is authorized, false otherwise