public static class SecurityPolicy.IdentityQueryTransformer extends Object implements SecurityPolicy.QueryTransformer
SecurityPolicy.QueryTransformer.IDENTITY
instead of instantiating this class.IDENTITY
Constructor and Description |
---|
IdentityQueryTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
transform(Principal principal,
String query)
Transforms a query into another query that has the security policy applied.
|
public IdentityQueryTransformer()
public String transform(Principal principal, String query)
SecurityPolicy.QueryTransformer
transform
in interface SecurityPolicy.QueryTransformer
principal
- the principal making the queryquery
- the queryCopyright © 2016 Nuxeo SA. All rights reserved.