Interface UserManager.UserAttribute
-
- All Known Implementing Classes:
UserAttributeImpl
- Enclosing interface:
- UserManager
public static interface UserManager.UserAttributeDescription of a user attribute that is supported by the specific manager implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultValue()The default value for an attribute.StringgetName()The attribute name.booleanisEditable()Specifies if the attribute can be modified.booleanisMandatory()Specifies if the attribute is required for creating a user or if it cannot be removed.
-
-
-
Method Detail
-
getName
String getName()
The attribute name.- Returns:
- The attribute name.
-
isMandatory
boolean isMandatory()
Specifies if the attribute is required for creating a user or if it cannot be removed.- Returns:
- Is mandatory.
-
isEditable
boolean isEditable()
Specifies if the attribute can be modified.- Returns:
- Is editable.
-
getDefaultValue
String getDefaultValue()
The default value for an attribute. Used when creating a new user and setting mandatory attributes.- Returns:
- The default value for the attribute, if any.
-
-