mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 16:52:13 +00:00
Remove cached DiscoveryInformation from session in OpenID4JavaConsumer's endConsumption method.
This commit is contained in:
parent
d3d9c5db59
commit
f5468087c2
@ -113,6 +113,7 @@ public class OpenID4JavaConsumer implements OpenIDConsumer {
|
||||
|
||||
// retrieve the previously stored discovery information
|
||||
DiscoveryInformation discovered = (DiscoveryInformation) request.getSession().getAttribute(DISCOVERY_INFO_KEY);
|
||||
request.getSession().removeAttribute(DISCOVERY_INFO_KEY);
|
||||
|
||||
// extract the receiving URL from the HTTP request
|
||||
StringBuffer receivingURL = request.getRequestURL();
|
||||
|
Loading…
x
Reference in New Issue
Block a user