public final class DocumentSecurityDirective extends Object
ExtensionDefinition
which
will be used to load the appropriate DocumentSecurityAttribute
implementation in order to perform the security filtering.
The actual directive is supplied to the appropriate application that is responsible for the given security attributes
by invoking that applications DocumentSecurityHandlerService
. This class primarily functions as a form of
data transport in order to package and send the required information.
Modifier and Type | Method and Description |
---|---|
static DocumentSecurityDirective |
create(List<String> documentSecurityAttributeNames,
List<Document> documents)
Creates a new security directive from the given list of document secruity attribute names and documents.
|
List<Document> |
getDocuments()
Returns the list of documents on this security directive.
|
List<String> |
getDocumentSecurityAttributeNames()
Returns the list of document security attribute names on this security directive.
|
public static DocumentSecurityDirective create(List<String> documentSecurityAttributeNames, List<Document> documents)
documentSecurityAttributeNames
- the list of document security attribute names with which to create this
security directivedocuments
- the list of documents with which to create this security directiveIllegalArgumentException
- if the given list of security attribute names is null or emptypublic List<String> getDocumentSecurityAttributeNames()
public List<Document> getDocuments()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.