Class OpenIDAttribute

java.lang.Object
org.springframework.security.openid.OpenIDAttribute
All Implemented Interfaces:
Serializable

@Deprecated public class OpenIDAttribute extends Object implements Serializable
Deprecated.
The OpenID 1.0 and 2.0 protocols have been deprecated and users are encouraged to migrate to OpenID Connect, which is supported by spring-security-oauth2.
Represents an OpenID subject identity attribute.

Can be used for configuring the OpenID4JavaConsumer with the attributes which should be requested during a fetch request, or to hold values for an attribute which are returned during the authentication process.

Since:
3.0
See Also:
  • Constructor Details

    • OpenIDAttribute

      public OpenIDAttribute(String name, String type)
      Deprecated.
    • OpenIDAttribute

      public OpenIDAttribute(String name, String type, List<String> values)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      The attribute name
    • getType

      public String getType()
      Deprecated.
      The attribute type Identifier (a URI).
    • isRequired

      public boolean isRequired()
      Deprecated.
      The "required" flag for the attribute when used with an authentication request. Defaults to "false".
    • setRequired

      public void setRequired(boolean required)
      Deprecated.
    • getCount

      public int getCount()
      Deprecated.
      The requested count for the attribute when it is used as part of an authentication request. Defaults to 1.
    • setCount

      public void setCount(int count)
      Deprecated.
    • getValues

      public List<String> getValues()
      Deprecated.
      The values obtained from an attribute exchange.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object