NIHVIVO-2696 allow the Authenticator to invalidate the cache of Identifiers.

This commit is contained in:
j2blake 2011-06-13 16:29:56 +00:00
parent cd439b8aaa
commit e5669be19e

View file

@ -46,4 +46,11 @@ public class RequestIdentifiers {
return (IdentifierBundle) obj;
}
/**
* The login status has changed, so discard the cached Identifiers.
*/
public static void resetIdentifiers(ServletRequest request) {
request.removeAttribute(ATTRIBUTE_ID_BUNDLE);
}
}