|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.openid.client.consumer.OpenIDAuthRequest
public class OpenIDAuthRequest
OpenIDAuthRequest contains all the information required to launch an OpenID authentication request to an OpenID Provider. The indentifier and returnURL are required fields. The requiredAttributes and optionalAttributes are optional (may be set to null).
Constructor Summary | |
---|---|
OpenIDAuthRequest(String identifier,
String returnURL)
Creates an OpenID authentication request for an OpenID. |
Method Summary | |
---|---|
void |
addOptionalAttribute(String attrib)
Adds an optional attribute to the list of optional attributes. |
void |
addRequiredAttribute(String attrib)
Adds an attribute to the list of required attributes. |
String |
getIdentifier()
|
List |
getOptionalAttributes()
Return the list of optional attibutes. |
List |
getRequiredAttributes()
Return the list of required attibutes. |
String |
getReturnURL()
|
boolean |
hasOptionalAttributes()
|
boolean |
hasRequiredAttributes()
|
boolean |
isImmediate()
|
boolean |
isStateless()
|
void |
setIdentifier(String identifier)
|
void |
setImmediate(boolean immediate)
|
void |
setOptionalAttributes(List optionalAttributes)
|
void |
setRequiredAttributes(List requiredAttributes)
|
void |
setReturnURL(String returnURL)
|
void |
setStateless(boolean stateless)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenIDAuthRequest(String identifier, String returnURL)
identifier
- the URI or XRI representing a users OpenID.returnURL
- URL OpenID Provider will redirect the authentication response to.Method Detail |
---|
public void addRequiredAttribute(String attrib)
attrib
- name of attribute to add.public void addOptionalAttribute(String attrib)
attrib
- name of attribute to add.public boolean hasRequiredAttributes()
public boolean hasOptionalAttributes()
public String getIdentifier()
public void setIdentifier(String identifier)
identifier
- URI/XRI OpenID to set for this request.public List getRequiredAttributes()
public List getOptionalAttributes()
public String getReturnURL()
public void setReturnURL(String returnURL)
returnURL
- sets the URL the OpenID Provider will redirect the authentication response to.public void setRequiredAttributes(List requiredAttributes)
requiredAttributes
- Listpublic void setOptionalAttributes(List optionalAttributes)
optionalAttributes
- Listpublic boolean isImmediate()
public void setImmediate(boolean immediate)
public boolean isStateless()
public void setStateless(boolean stateless)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |