Annotation Type StoreReference
-
@Retention(RUNTIME) @Target(FIELD) public @interface 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 Elements Modifier and Type Optional Element Description String
ref
The LDAP attribute that the class field being annotated with this annotation (StoreReference
) is mapping to by defaultString[]
refs
Describes a mapping of LDAP attribute names and resource types for the class field being annotated withStoreReference
.Class<? extends BaseScimResource>[]
resourceType
A collection of subclasses of the base classBaseScimResource
.
-
-
-
Element Detail
-
ref
String ref
The 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>[] resourceType
A collection of subclasses of the base classBaseScimResource
. This "collection" goes paired with the values of elementrefs()
- Returns:
- An array of classes
- Default:
- {}
-
-
-
refs
String[] refs
Describes 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:
- {}
-
-