public interface OpenIDConsumer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
beginConsumption(javax.servlet.http.HttpServletRequest req,
java.lang.String claimedIdentity,
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(javax.servlet.http.HttpServletRequest req) |
java.lang.String beginConsumption(javax.servlet.http.HttpServletRequest req, java.lang.String claimedIdentity, java.lang.String returnToUrl, java.lang.String realm) throws OpenIDConsumerException
req
- HttpServletRequestclaimedIdentity
- 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 happensOpenIDAuthenticationToken endConsumption(javax.servlet.http.HttpServletRequest req) throws OpenIDConsumerException
OpenIDConsumerException