Remove cached DiscoveryInformation from session in OpenID4JavaConsumer's endConsumption method.

This commit is contained in:
Luke Taylor 2010-04-15 23:18:11 +01:00
parent d3d9c5db59
commit f5468087c2
1 changed files with 1 additions and 0 deletions

View File

@ -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();