Class ActiveIdentifierBundleFactories
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.identifier.ActiveIdentifierBundleFactories
-
public class ActiveIdentifierBundleFactories extends Object
Keep a list of the active IdentifierBundleFactories in the context.
-
-
Constructor Summary
Constructors Constructor Description ActiveIdentifierBundleFactories()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddFactory(javax.servlet.ServletContextEvent sce, IdentifierBundleFactory factory)Add a new IdentifierBundleFactory to the list.static voidaddFactory(javax.servlet.ServletContext ctx, IdentifierBundleFactory factory)Add a new IdentifierBundleFactory to the list.static List<String>getFactoryNames(javax.servlet.ServletContext ctx)Just for diagnostics.static IdentifierBundlegetUserIdentifierBundle(javax.servlet.http.HttpServletRequest request, UserAccount userAccount)Get the Identifiers that would be created if this user were to log in.
-
-
-
Method Detail
-
addFactory
public static void addFactory(javax.servlet.ServletContextEvent sce, IdentifierBundleFactory factory)Add a new IdentifierBundleFactory to the list.
-
addFactory
public static void addFactory(javax.servlet.ServletContext ctx, IdentifierBundleFactory factory)Add a new IdentifierBundleFactory to the list.
-
getFactoryNames
public static List<String> getFactoryNames(javax.servlet.ServletContext ctx)
Just for diagnostics. Don't expose the factories themselves, only their names.
-
getUserIdentifierBundle
public static IdentifierBundle getUserIdentifierBundle(javax.servlet.http.HttpServletRequest request, UserAccount userAccount)
Get the Identifiers that would be created if this user were to log in.
-
-