Interface OpenIDConsumer

All Known Implementing Classes:
OpenID4JavaConsumer

@Deprecated public interface OpenIDConsumer
Deprecated.
The OpenID 1.0 and 2.0 protocols have been deprecated and users are encouraged to migrate to OpenID Connect, which is supported by spring-security-oauth2.
An interface for OpenID library implementations
  • Method Summary

    Modifier and Type
    Method
    Description
    beginConsumption(jakarta.servlet.http.HttpServletRequest req, String claimedIdentity, String returnToUrl, String realm)
    Deprecated.
    Given the request, the claimedIdentity, the return to url, and a realm, lookup the openId authentication page the user should be redirected to.
    endConsumption(jakarta.servlet.http.HttpServletRequest req)
    Deprecated.
     
  • Method Details

    • beginConsumption

      String beginConsumption(jakarta.servlet.http.HttpServletRequest req, String claimedIdentity, String returnToUrl, String realm) throws OpenIDConsumerException
      Deprecated.
      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
    • endConsumption

      OpenIDAuthenticationToken endConsumption(jakarta.servlet.http.HttpServletRequest req) throws OpenIDConsumerException
      Deprecated.
      Throws:
      OpenIDConsumerException