Interface AccessController


  • @ConsumerType
    public interface AccessController
    The interface is meant to ensure that every CRUD operations to storage must pass through access control filters for security purposes.Customer must override the method implementation as per their storage implementations.
    • Method Detail

      • updateOwner

        void updateOwner​(FormsApplicationContext formsApplicationContext)
        Method to override the owner information in the model,for anonymous users.
        Parameters:
        formsApplicationContext - instance of draft, submit or sign
      • hasAccess

        boolean hasAccess​(FormsApplicationContext formsApplicationContext)
        Method to perform access control for draft,submit or sign models. Only those models should be allowed whose owner=initiatorId, else overridden by customer
        Parameters:
        formsApplicationContext - instance of draft, submit or sign
      • filter

        boolean filter​(java.util.List<FormsApplicationContext> formsApplicationContext)
        Method to perform filtering on the List of FormsApplicationContext like draft,submit or sign. Only those models should be allowed whose owner=initiatorId, else overridden by customer
        Parameters:
        formsApplicationContext - list of draft, submit or sign
        Returns: