public class OpenID4JavaConsumer extends Object implements OpenIDConsumer
Constructor and Description |
---|
OpenID4JavaConsumer(List<org.xaloon.core.api.security.external.AuthenticationAttribute> attributes)
Construct.
|
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.
|
org.xaloon.core.api.security.external.AuthenticationToken |
endConsumption(javax.servlet.http.HttpServletRequest request) |
public OpenID4JavaConsumer(List<org.xaloon.core.api.security.external.AuthenticationAttribute> attributes) throws org.openid4java.consumer.ConsumerException
attributes
- org.openid4java.consumer.ConsumerException
public String beginConsumption(javax.servlet.http.HttpServletRequest req, String identityUrl, String returnToUrl, String realm) throws OpenIDConsumerException
OpenIDConsumer
beginConsumption
in interface OpenIDConsumer
req
- 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 org.xaloon.core.api.security.external.AuthenticationToken endConsumption(javax.servlet.http.HttpServletRequest request) throws OpenIDConsumerException
endConsumption
in interface OpenIDConsumer
OpenIDConsumerException
Copyright © 2012 xaloon.org. All Rights Reserved.