public class OpenIDProtocolContext extends Object implements ProtocolContext
ProtocolContext for the OpenID Layer| Modifier and Type | Class and Description |
|---|---|
static class |
OpenIDProtocolContext.AUTH_HOLDER
Class to hold the information for authentication requests
|
static class |
OpenIDProtocolContext.MODE
An Enum indicating the OpenID mode
|
| Modifier and Type | Field and Description |
|---|---|
protected OpenIDProtocolContext.AUTH_HOLDER |
authenticationHolder
STS uses the AUTH_HOLDER information for processing authentication requests
|
protected String |
endpoint
The Server Manager needs an endpoint
|
protected String |
errorText
What is the text the STS should use for the error?
|
protected Boolean |
issueError
Should the STS issue an error?
|
protected OpenIDProtocolContext.MODE |
mode
The OpenID mode
|
static String |
OPENID_1_0_NS |
static String |
OPENID_1_1_NS |
static String |
OPENID_2_0_NS |
protected OpenIDParameterList |
requestParameterList
The list of request parameters for use by the STS
|
protected OpenIDProviderManager.OpenIDMessage |
responseMessage
The response message generated by the STS
|
| Constructor and Description |
|---|
OpenIDProtocolContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
family() |
OpenIDProtocolContext.AUTH_HOLDER |
getAuthenticationHolder()
Get the holder of authentication information
|
String |
getEndpoint()
Get the endpoint address
|
String |
getErrorText()
Get the error text (Null by default)
|
Boolean |
getIssueError()
Should the STS issue an error response token
|
OpenIDProtocolContext.MODE |
getMode()
Get the Open ID mode
|
QName |
getQName() |
OpenIDParameterList |
getRequestParameterList()
Get the request parameter list
|
OpenIDProviderManager.OpenIDMessage |
getResponseMessage()
Get the
OpenIDMessage response message that the STS has generated |
String |
serviceName() |
void |
setAuthenticationHolder(OpenIDProtocolContext.AUTH_HOLDER authenticationHolder)
Set an authentication holder
|
void |
setEndpoint(String endpoint)
Set the endpoint address
|
void |
setErrorText(String errorText)
Set the error text
|
void |
setIssueError(Boolean issueError)
Set the error response token for the STS
|
void |
setMode(OpenIDProtocolContext.MODE theMode)
Set the OpenID mode
|
void |
setRequestParameterList(OpenIDParameterList requestParameterList)
Set the request parameter list
|
void |
setResponseMessage(OpenIDProviderManager.OpenIDMessage responseMessage)
Set the
OpenIDMessage response message |
String |
tokenType() |
public static final String OPENID_1_0_NS
public static final String OPENID_1_1_NS
public static final String OPENID_2_0_NS
protected OpenIDProviderManager.OpenIDMessage responseMessage
protected OpenIDParameterList requestParameterList
protected String endpoint
protected Boolean issueError
protected String errorText
protected OpenIDProtocolContext.MODE mode
protected OpenIDProtocolContext.AUTH_HOLDER authenticationHolder
public OpenIDProtocolContext.AUTH_HOLDER getAuthenticationHolder()
public void setAuthenticationHolder(OpenIDProtocolContext.AUTH_HOLDER authenticationHolder)
authenticationHolder - public OpenIDProtocolContext.MODE getMode()
public void setMode(OpenIDProtocolContext.MODE theMode)
theMode - public String getErrorText()
public void setErrorText(String errorText)
errorText - public Boolean getIssueError()
public void setIssueError(Boolean issueError)
issueError - public String getEndpoint()
public void setEndpoint(String endpoint)
endpoint - public OpenIDParameterList getRequestParameterList()
OpenIDParameterListpublic void setRequestParameterList(OpenIDParameterList requestParameterList)
requestParameterList - an instanceof OpenIDParameterListpublic OpenIDProviderManager.OpenIDMessage getResponseMessage()
OpenIDMessage response message that the STS has generatedpublic void setResponseMessage(OpenIDProviderManager.OpenIDMessage responseMessage)
OpenIDMessage response messageresponseMessage - public String serviceName()
serviceName in interface ProtocolContextProtocolContext.serviceName()public String tokenType()
tokenType in interface ProtocolContextProtocolContext.tokenType()public QName getQName()
getQName in interface ProtocolContextProtocolContext.getQName()public String family()
family in interface ProtocolContextProtocolContext.family()Copyright © 2014 JBoss Inc.. All Rights Reserved.