Class OpenID4JavaConsumer
- java.lang.Object
- 
- org.springframework.security.openid.OpenID4JavaConsumer
 
- 
- All Implemented Interfaces:
- OpenIDConsumer
 
 @Deprecated public class OpenID4JavaConsumer extends java.lang.Object implements 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 byspring-security-oauth2.
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.apache.commons.logging.LogloggerDeprecated.
 - 
Constructor SummaryConstructors Constructor Description OpenID4JavaConsumer()Deprecated.OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager, AxFetchListFactory attributesToFetchFactory)Deprecated.OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringbeginConsumption(javax.servlet.http.HttpServletRequest req, java.lang.String identityUrl, java.lang.String returnToUrl, java.lang.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.OpenIDAuthenticationTokenendConsumption(javax.servlet.http.HttpServletRequest request)Deprecated.
 
- 
- 
- 
Constructor Detail- 
OpenID4JavaConsumerpublic OpenID4JavaConsumer() throws org.openid4java.consumer.ConsumerExceptionDeprecated.- Throws:
- org.openid4java.consumer.ConsumerException
 
 - 
OpenID4JavaConsumerpublic OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) throws org.openid4java.consumer.ConsumerException Deprecated.- Throws:
- org.openid4java.consumer.ConsumerException
 
 - 
OpenID4JavaConsumerpublic OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager, AxFetchListFactory attributesToFetchFactory)Deprecated.
 
- 
 - 
Method Detail- 
beginConsumptionpublic java.lang.String beginConsumption(javax.servlet.http.HttpServletRequest req, java.lang.String identityUrl, java.lang.String returnToUrl, java.lang.String realm) throws OpenIDConsumerExceptionDeprecated.Description copied from interface:OpenIDConsumerGiven the request, the claimedIdentity, the return to url, and a realm, lookup the openId authentication page the user should be redirected to.- Specified by:
- beginConsumptionin interface- OpenIDConsumer
- Parameters:
- req- HttpServletRequest
- identityUrl- 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
 
 - 
endConsumptionpublic OpenIDAuthenticationToken endConsumption(javax.servlet.http.HttpServletRequest request) throws OpenIDConsumerException Deprecated.- Specified by:
- endConsumptionin interface- OpenIDConsumer
- Throws:
- OpenIDConsumerException
 
 
- 
 
-