gluu
|
公開メンバ関数 | |
Type | getAttributeDefinitionType () |
String | getName () |
void | setName (String name) |
boolean | isMultiValued () |
AttributeDataType | getType () |
void | setMultiValued (boolean multiValued) |
void | setType (AttributeDataType type) |
String | getDescription () |
void | setDescription (String description) |
静的公開メンバ関数 | |
static Object | valueOf (ExtensionField field, Object val) |
static Object | valueFromString (ExtensionField field, String val) |
static String | stringValueOf (ExtensionField field, Object val) |
非公開変数類 | |
String | name |
boolean | multiValued |
AttributeDataType | type |
String | description |
静的非公開変数類 | |
static final String | XSD_DATE_TIME_PATTERN ="^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.*$" |
Represents the metadata of an attribute that belongs to a SCIM resource extension.
Attributes part of extensions, aka "extended attributes" or "custom attributes" have implicit characteristics equal to the defaults shown in section 2.2 of RFC 7643. In other words, all custom attributes have:
The only "configurable" characteristics supported are:
These can be tweaked via oxTrust admin web console.
See also: Extension class.
|
inline |
Maps the org.xdi.model.GluuAttributeDataType associated to this ExtensionField (see getType) to a member of the enum AttributeDefinition.Type.
The mapping is straightforward. Special case is org.xdi.model.GluuAttributeDataType.NUMERIC mapped to Type.DECIMAL.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Takes an object and a ExtensionField, and returns a String (suitable for storing in LDAP). For a field data type NUMERIC, BOOLEAN or STRING, a straight string representation is returned. When it's DATE, it is converted from ISO to generalized date time format.
field | An instance of ExtensionField |
val | A value |
|
inlinestatic |
Equivalent to valueOf, however, a String is supplied as value. Here no validations on data type consistence takes place (it is expected that value passed reflects the type of the field). If the field is a DATE, a conversion from ISO format is done, nonetheless, DATE fields still remain being represented as Java strings
field | An ExtensionField |
val | A non-null String value |
|
inlinestatic |
Tries parsing the value passed according to the data type associated to the field
field | An ExtensionField instance that determines the data type expected to be received |
val | A non-null object that represents a (hopefully valid) value for this field |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |