public class HTTPProtocolAdaptor extends Object implements OpenIDProtocolAdapter, OpenIDLifecycle
| Constructor and Description |
|---|
HTTPProtocolAdaptor(HTTPOpenIDContext octx) |
| Modifier and Type | Method and Description |
|---|---|
OpenIDAttributeMap |
getAttributeMap()
Map of attributes to be retrieved from the provider
|
Object |
getAttributeValue(String name)
Provide the value for an attribute to the openid manager
|
String |
getReturnURL()
Provide the return url for the OpenIDManager where the Relying Party can handle responses from the OpenID Provider
|
void |
handle(OpenIDLifecycleEvent event)
Handle an openid lifecycle event from the openid manager
|
void |
handle(OpenIDLifecycleEvent[] eventArr)
Handle an array of lifecycle events from the OpenID Manager
|
void |
sendToProvider(int version,
String destinationURL,
Map<String,String> paramMap)
Send the request to the OpenID Provider
|
public HTTPProtocolAdaptor(HTTPOpenIDContext octx)
public OpenIDAttributeMap getAttributeMap()
OpenIDProtocolAdaptergetAttributeMap in interface OpenIDProtocolAdapterpublic String getReturnURL()
OpenIDProtocolAdaptergetReturnURL in interface OpenIDProtocolAdapterpublic void handle(OpenIDLifecycleEvent event) throws OpenIDLifeCycleException
OpenIDLifecyclehandle in interface OpenIDLifecycleOpenIDLifeCycleExceptionOpenIDLifecycle.handle(OpenIDLifecycleEvent)public void handle(OpenIDLifecycleEvent[] eventArr) throws OpenIDLifeCycleException
OpenIDLifecyclehandle in interface OpenIDLifecycleOpenIDLifeCycleExceptionOpenIDLifecycle.handle(OpenIDLifecycleEvent[])public void sendToProvider(int version,
String destinationURL,
Map<String,String> paramMap)
throws OpenIDProtocolException
OpenIDProtocolAdaptersendToProvider in interface OpenIDProtocolAdapterversion - OpenID version 1 is via HTTP Redirect and by HTTP Post for version 2destinationURL - Final Destination URLparamMap - Map of parametersOpenIDProtocolExceptionpublic Object getAttributeValue(String name)
OpenIDLifecyclegetAttributeValue in interface OpenIDLifecycleOpenIDLifecycle.getAttributeValue(String)Copyright © 2014 JBoss Inc.. All Rights Reserved.