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
|
// retrieve the previously stored discovery information
|
||||||
DiscoveryInformation discovered = (DiscoveryInformation) request.getSession().getAttribute(DISCOVERY_INFO_KEY);
|
DiscoveryInformation discovered = (DiscoveryInformation) request.getSession().getAttribute(DISCOVERY_INFO_KEY);
|
||||||
|
request.getSession().removeAttribute(DISCOVERY_INFO_KEY);
|
||||||
|
|
||||||
// extract the receiving URL from the HTTP request
|
// extract the receiving URL from the HTTP request
|
||||||
StringBuffer receivingURL = request.getRequestURL();
|
StringBuffer receivingURL = request.getRequestURL();
|
||||||
|
|
Loading…
Reference in New Issue