Interface UserManager.UserAttribute

  • All Known Implementing Classes:
    UserAttributeImpl
    Enclosing interface:
    UserManager

    public static interface UserManager.UserAttribute

    Description of a user attribute that is supported by the specific manager implementation.

    • 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.