Enum RegistrationWithIdentityProviders

    • Enum Constant Detail

      • ENABLED_DIRECT

        public static final RegistrationWithIdentityProviders ENABLED_DIRECT
        Registration is enabled. A direct registration will be attempted. If succeed, the user will be automatically logged in.
      • ENABLED_FORM

        public static final RegistrationWithIdentityProviders ENABLED_FORM
        Registration is enabled. It will always just fill-in the registration form with fields from the provider.
    • Method Detail

      • values

        public static RegistrationWithIdentityProviders[] 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 (RegistrationWithIdentityProviders c : RegistrationWithIdentityProviders.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RegistrationWithIdentityProviders 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
      • enabled

        public boolean enabled()