Interface DocumentSecurityAttribute

All Superinterfaces:
Serializable

public interface DocumentSecurityAttribute extends Serializable
This is an attribute used to implement custom document security for document search and the route log. SecurityAttributes are configured to be associated with the document type against which they should be applied. For each route log or row that is returned from a document search, this authorization methods will be executed.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthorizedForDocument(String principalId, org.kuali.rice.kew.api.document.Document document)
    Determines whether or not a principal is authorized to see information about a given document.
  • Method Details

    • isAuthorizedForDocument

      boolean isAuthorizedForDocument(String principalId, org.kuali.rice.kew.api.document.Document document)
      Determines whether or not a principal is authorized to see information about a given document.
      Parameters:
      principalId - the principalId for which to check authorization
      document - the document for which to check security
      Returns:
      true if the principal is authorized to view the document, false otherwise