public class

OpenIDAttribute

extends Object
implements Serializable
java.lang.Object
   ↳ org.springframework.security.openid.OpenIDAttribute

Class Overview

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.

Summary

Public Constructors
OpenIDAttribute(String name, String type)
OpenIDAttribute(String name, String type, List<String> values)
Public Methods
int getCount()
The requested count for the attribute when it is used as part of an authentication request.
String getName()
The attribute name
String getType()
The attribute type Identifier (a URI).
List<String> getValues()
The values obtained from an attribute exchange.
boolean isRequired()
The "required" flag for the attribute when used with an authentication request.
void setCount(int count)
void setRequired(boolean required)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OpenIDAttribute (String name, String type)

public OpenIDAttribute (String name, String type, List<String> values)

Public Methods

public int getCount ()

The requested count for the attribute when it is used as part of an authentication request. Defaults to 1.

public String getName ()

The attribute name

public String getType ()

The attribute type Identifier (a URI).

public List<String> getValues ()

The values obtained from an attribute exchange.

public boolean isRequired ()

The "required" flag for the attribute when used with an authentication request. Defaults to "false".

public void setCount (int count)

public void setRequired (boolean required)

public String toString ()