public class OpenID4JavaConsumer extends Object implements OpenIDConsumer
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
OpenID4JavaConsumer() |
OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) |
OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager,
AxFetchListFactory attributesToFetchFactory) |
OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager,
List<OpenIDAttribute> attributes)
Deprecated.
|
OpenID4JavaConsumer(List<OpenIDAttribute> attributes)
Deprecated.
use the
AxFetchListFactory version instead. |
| Modifier and Type | Method and Description |
|---|---|
String |
beginConsumption(javax.servlet.http.HttpServletRequest req,
String identityUrl,
String returnToUrl,
String realm)
Given the request, the claimedIdentity, the return to url, and a realm, lookup the openId authentication
page the user should be redirected to.
|
OpenIDAuthenticationToken |
endConsumption(javax.servlet.http.HttpServletRequest request) |
public OpenID4JavaConsumer()
throws org.openid4java.consumer.ConsumerException
org.openid4java.consumer.ConsumerException@Deprecated public OpenID4JavaConsumer(List<OpenIDAttribute> attributes) throws org.openid4java.consumer.ConsumerException
AxFetchListFactory version instead.org.openid4java.consumer.ConsumerException@Deprecated public OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager, List<OpenIDAttribute> attributes) throws org.openid4java.consumer.ConsumerException
org.openid4java.consumer.ConsumerExceptionpublic OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) throws org.openid4java.consumer.ConsumerException
org.openid4java.consumer.ConsumerExceptionpublic OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager,
AxFetchListFactory attributesToFetchFactory)
throws org.openid4java.consumer.ConsumerException
org.openid4java.consumer.ConsumerExceptionpublic String beginConsumption(javax.servlet.http.HttpServletRequest req, String identityUrl, String returnToUrl, String realm) throws OpenIDConsumerException
OpenIDConsumerbeginConsumption in interface OpenIDConsumerreq - HttpServletRequestidentityUrl - String URI the user presented during authenticationreturnToUrl - String URI of the URL we want the user sent back to by the OPrealm - URI pattern matching the realm we want the user to seeOpenIDConsumerException - if anything bad happenspublic OpenIDAuthenticationToken endConsumption(javax.servlet.http.HttpServletRequest request) throws OpenIDConsumerException
endConsumption in interface OpenIDConsumerOpenIDConsumerException