public class OpenID4JavaConsumer extends java.lang.Object implements OpenIDConsumer
| Modifier and Type | Field and Description |
|---|---|
protected Log |
logger |
| Constructor and Description |
|---|
OpenID4JavaConsumer() |
OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) |
OpenID4JavaConsumer(ConsumerManager consumerManager,
AxFetchListFactory attributesToFetchFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
beginConsumption(HttpServletRequest req,
java.lang.String identityUrl,
java.lang.String returnToUrl,
java.lang.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(HttpServletRequest request) |
public OpenID4JavaConsumer()
throws ConsumerException
ConsumerExceptionpublic OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) throws ConsumerException
ConsumerExceptionpublic OpenID4JavaConsumer(ConsumerManager consumerManager,
AxFetchListFactory attributesToFetchFactory)
throws ConsumerException
ConsumerExceptionpublic java.lang.String beginConsumption(HttpServletRequest req,
java.lang.String identityUrl,
java.lang.String returnToUrl,
java.lang.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(HttpServletRequest request) throws OpenIDConsumerException
endConsumption in interface OpenIDConsumerOpenIDConsumerException