NIHVIVO-2696 allow the Authenticator to invalidate the cache of Identifiers.
This commit is contained in:
parent
cd439b8aaa
commit
e5669be19e
1 changed files with 7 additions and 0 deletions
|
@ -46,4 +46,11 @@ public class RequestIdentifiers {
|
||||||
return (IdentifierBundle) obj;
|
return (IdentifierBundle) obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The login status has changed, so discard the cached Identifiers.
|
||||||
|
*/
|
||||||
|
public static void resetIdentifiers(ServletRequest request) {
|
||||||
|
request.removeAttribute(ATTRIBUTE_ID_BUNDLE);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue