Annotation Type StoreReference
An annotation used to tie a field (class member) to an LDAP attribute. This is not used for persisting resources but
only for building LDAP filters when queries are issued. This is a mechanism to be able to convert filter expressions
as in section 3.4.2.2 of RFC 7644 to LDAP expressions.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe LDAP attribute that the class field being annotated with this annotation (StoreReference) is mapping to by defaultString[]Describes a mapping of LDAP attribute names and resource types for the class field being annotated withStoreReference.Class<? extends BaseScimResource>[]A collection of subclasses of the base classBaseScimResource.
-
Element Details
-
ref
String refThe LDAP attribute that the class field being annotated with this annotation (StoreReference) is mapping to by default- Returns:
- LDAP attribute name
- Default:
""
-
resourceType
Class<? extends BaseScimResource>[] resourceTypeA collection of subclasses of the base classBaseScimResource. This "collection" goes paired with the values of elementrefs()- Returns:
- An array of classes
- Default:
{}
-
refs
String[] refsDescribes a mapping of LDAP attribute names and resource types for the class field being annotated withStoreReference. This is useful when a default value for LDAP attribute cannot be given, that is, when the LDAP attribute varies depending on whether it is a User or a Group- Returns:
- An array of strings (representing LDAP attribute names). When providing this element, also
resourceType()must be provided and both arrays must have the same length
- Default:
{}
-