Class RequestIdentifiers
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.identifier.RequestIdentifiers
-
public class RequestIdentifiers extends Object
Build a list of Identifiers that apply to the current request and cache them in the request.
-
-
Constructor Summary
Constructors Constructor Description RequestIdentifiers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdentifierBundlegetIdBundleForRequest(javax.servlet.ServletRequest request)If the currently applicable Identifiers have been cached in the request, get them.static voidresetIdentifiers(javax.servlet.ServletRequest request)The login status has changed, so discard the cached Identifiers.
-
-
-
Method Detail
-
getIdBundleForRequest
public static IdentifierBundle getIdBundleForRequest(javax.servlet.ServletRequest request)
If the currently applicable Identifiers have been cached in the request, get them. If not, assemble them from the active factories, and cache them in the request. This method might return an empty bundle, but it never returns null.
-
resetIdentifiers
public static void resetIdentifiers(javax.servlet.ServletRequest request)
The login status has changed, so discard the cached Identifiers.
-
-