Interface DocumentSecurityAttribute
- All Superinterfaces:
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 TypeMethodDescriptionbooleanisAuthorizedForDocument(String principalId, Document document) Determines whether or not a principal is authorized to see information about a given document.
-
Method Details
-
isAuthorizedForDocument
Determines whether or not a principal is authorized to see information about a given document.- Parameters:
principalId- the principalId for which to check authorizationdocument- the document for which to check security- Returns:
- true if the principal is authorized to view the document, false otherwise
-