public class ScimResourceTrimmer extends ResourceTrimmer
| Constructor and Description |
|---|
ScimResourceTrimmer(ResourceTypeDefinition resourceType,
Set<com.unboundid.scim2.common.Path> requestAttributes,
Set<com.unboundid.scim2.common.Path> queryAttributes,
boolean excluded)
Create a new SCIMResourceTrimmer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldReturn(com.unboundid.scim2.common.Path path)
Determine if the attribute specified by the path should be returned.
|
trimArrayNode, trimObjectNodepublic ScimResourceTrimmer(ResourceTypeDefinition resourceType, Set<com.unboundid.scim2.common.Path> requestAttributes, Set<com.unboundid.scim2.common.Path> queryAttributes, boolean excluded)
resourceType - The resource type definition for resources to
trim.requestAttributes - The attributes in the request object or
null for
other requests.queryAttributes - The attributes from the 'attributes' or
'excludedAttributes' query parameter.excluded - true if the queryAttributes came from
the excludedAttributes query parameter.public boolean shouldReturn(com.unboundid.scim2.common.Path path)
shouldReturn in class ResourceTrimmerpath - The path for the attribute.true to return the attribute or false to remove the
attribute from the returned resource..Copyright © 2015–2016 UnboundID Corp.. All rights reserved.