public interface

OpenIDConsumer

org.springframework.security.openid.OpenIDConsumer
Known Indirect Subclasses

Class Overview

An interface for OpenID library implementations

Summary

Public Methods
abstract String beginConsumption(HttpServletRequest req, String claimedIdentity, 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.
abstract OpenIDAuthenticationToken endConsumption(HttpServletRequest req)

Public Methods

public abstract String beginConsumption (HttpServletRequest req, String claimedIdentity, 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.

Parameters
req HttpServletRequest
claimedIdentity String URI the user presented during authentication
returnToUrl String URI of the URL we want the user sent back to by the OP
realm URI pattern matching the realm we want the user to see
Returns
  • String URI to redirect user to for authentication
Throws
OpenIDConsumerException if anything bad happens

public abstract OpenIDAuthenticationToken endConsumption (HttpServletRequest req)