Class OpenID4JavaConsumer
java.lang.Object
org.springframework.security.openid.OpenID4JavaConsumer
- All Implemented Interfaces:
OpenIDConsumer
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager, AxFetchListFactory attributesToFetchFactory) Deprecated.OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbeginConsumption(jakarta.servlet.http.HttpServletRequest req, String identityUrl, 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 request) Deprecated.
-
Field Details
-
logger
protected final org.apache.commons.logging.Log loggerDeprecated.
-
-
Constructor Details
-
OpenID4JavaConsumer
public OpenID4JavaConsumer() throws org.openid4java.consumer.ConsumerExceptionDeprecated.- Throws:
org.openid4java.consumer.ConsumerException
-
OpenID4JavaConsumer
public OpenID4JavaConsumer(AxFetchListFactory attributesToFetchFactory) throws org.openid4java.consumer.ConsumerException Deprecated.- Throws:
org.openid4java.consumer.ConsumerException
-
OpenID4JavaConsumer
public OpenID4JavaConsumer(org.openid4java.consumer.ConsumerManager consumerManager, AxFetchListFactory attributesToFetchFactory) Deprecated.
-
-
Method Details
-
beginConsumption
public String beginConsumption(jakarta.servlet.http.HttpServletRequest req, String identityUrl, String returnToUrl, String realm) throws OpenIDConsumerException Deprecated.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 interfaceOpenIDConsumer- Parameters:
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 see- Returns:
- String URI to redirect user to for authentication
- Throws:
OpenIDConsumerException- if anything bad happens
-
endConsumption
public OpenIDAuthenticationToken endConsumption(jakarta.servlet.http.HttpServletRequest request) throws OpenIDConsumerException Deprecated.- Specified by:
endConsumptionin interfaceOpenIDConsumer- Throws:
OpenIDConsumerException
-
spring-security-oauth2.