Modifier and Type | Method and Description |
---|---|
static AttributeFilter |
newAttributeFilter(Collection<String> attrNames,
boolean omitValues,
boolean omitReal,
boolean omitVirtual)
Returns an attribute filter which will keep only the attributes which match the provided criteria.
|
static Entry |
processVirtualAttributes(Entry e)
Performs any necessary virtual attribute processing for this entry.
|
static Entry |
shallowCopyOfEntryWithoutVirtualAttributes(Entry e)
Returns a shallow copy of this entry, the attributes are shared between this entry and the returned entry.
|
public static Entry processVirtualAttributes(Entry e)
e
- the entry where to add virtual attributespublic static Entry shallowCopyOfEntryWithoutVirtualAttributes(Entry e)
Note: this method does not copy the virtual attributes. To obtain the virtual attributes, use
processVirtualAttributes(Entry)
after calling the current method.
e
- the entry to copypublic static AttributeFilter newAttributeFilter(Collection<String> attrNames, boolean omitValues, boolean omitReal, boolean omitVirtual)
attrNames
- The attributes to include, may include wild cards.omitValues
- Indicates whether to omit attribute values when processing.omitReal
- Indicates whether to exclude real attributes.omitVirtual
- Indicates whether to exclude virtual attributes.Copyright 2010-2022 ForgeRock AS.