|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.openid.OpenIDAttribute
public class OpenIDAttribute
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.
Constructor Summary | |
---|---|
OpenIDAttribute(String name,
String type)
|
|
OpenIDAttribute(String name,
String type,
List<String> values)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OpenIDAttribute(String name, String type)
public OpenIDAttribute(String name, String type, List<String> values)
Method Detail |
---|
public String getName()
public String getType()
public boolean isRequired()
public void setRequired(boolean required)
public int getCount()
public void setCount(int count)
public List<String> getValues()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |