|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentSecurityHandlerService
A remotable service which handles processing of a client application's custom security processing of workflow documents.
| Method Summary | |
|---|---|
List<String> |
getAuthorizedDocumentIds(String principalId,
List<DocumentSecurityDirective> documentSecurityDirectives)
Returns a list of document ids from the given list of document security directives for which the principal with the given principal id is allowed to view. |
| Method Detail |
|---|
List<String> getAuthorizedDocumentIds(String principalId,
List<DocumentSecurityDirective> documentSecurityDirectives)
throws RiceIllegalArgumentException
This method essentially invokes
DocumentSecurityAttribute.isAuthorizedForDocument(String, org.kuali.rice.kew.api.document.Document)
method for each of the security attributes supplied in the document security directives, passing the associated
list of document ids.
principalId - the id of the principal against which to perform the authorizationdocumentSecurityDirectives - the list of security directives which define the documents which should be
checked for authorization and the name of the DocumentSecurityAttribute extensions against which to
execute the authorization check.
RiceIllegalArgumentException - if the given principalId is a null or blank value
RiceIllegalArgumentException - if any of the security attributes defined in the given list of security
directives cannot be located or loaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||