org.kuali.rice.kew.framework.document.security
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)
 
isAuthorizedForDocument
boolean isAuthorizedForDocument(String principalId,
                                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
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.