Interface Account

    • Method Detail

      • isValid

        boolean isValid()
      • validatePassword

        boolean validatePassword​(String password)
      • isSynthetic

        boolean isSynthetic()
      • getDisplayName

        String getDisplayName()
      • getAttributes

        IReadProperties getAttributes()
        Gets all attributes of the user account. If attributes are not supported return null;
        Returns:
        all attributes in read only properties list or null if properties are not supported.
      • putAttributes

        void putAttributes​(IReadProperties properties)
                    throws de.mhus.lib.errors.NotSupportedException
        Overwrites the given attributes, leaves all other properties untouched. Use NullValue to remove a attribute from list.
        Parameters:
        properties -
        Throws:
        de.mhus.lib.errors.NotSupportedException - Thrown if attributes are not supported
      • getGroups

        String[] getGroups()
                    throws de.mhus.lib.errors.NotSupportedException
        Return the set of assigned groups
        Returns:
        List of groups
        Throws:
        de.mhus.lib.errors.NotSupportedException
      • reloadAccount

        boolean reloadAccount()
        Reload the account data
        Returns:
        true if the reload was possible
      • getCreationDate

        Date getCreationDate()
        Return the user creation date or null if not supported.
        Returns:
        Creation date
      • getModifyDate

        Date getModifyDate()
        Return the user modify date or null if not supported.
        Returns:
        Modify date
      • getUUID

        UUID getUUID()
        Return the users UUID or null if not supported.
        Returns:
        Unique id of the user
      • isActive

        boolean isActive()
        Return true if the user is active and the user can log in.
        Returns:
        True if the user can log in.