Enum EntityState

    • Enum Constant Detail

      • valid

        public static final EntityState valid
        No restrictions.
      • authenticationDisabled

        public static final EntityState authenticationDisabled
        The entity is fully valid, but it can not authenticate itself. It is still possible to query for entity's attributes etc.
      • disabled

        public static final EntityState disabled
        The entity is disabled. It is not possible to authenticate as this entity. What is more it is only possible to get the attributes of the entity using the privileged getAllAttribtues operation. Therefore such entity can not be used as a subject of SAML queries, etc. All other management operations are still possible. It is also possible to get other information about the entity, assuming that authZ level permits.
      • onlyLoginPermitted

        public static final EntityState onlyLoginPermitted
        This state is the same as disabled with one exception: it is possible to authenticate as this entity and what's more, immediately after logging the state is changed to valid. This state is used to implement scheduled account removal with a grace time, which controlled by end-user. During the grace time this status is used and authentication is re-enabling the account.
    • Method Detail

      • values

        public static EntityState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EntityState c : EntityState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EntityState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null