org.fcrepo.server.security.servletfilters
Class BaseCaching
java.lang.Object
org.fcrepo.server.security.servletfilters.Base
org.fcrepo.server.security.servletfilters.FilterSetup
org.fcrepo.server.security.servletfilters.BaseContributing
org.fcrepo.server.security.servletfilters.BaseCaching
- All Implemented Interfaces:
- javax.servlet.Filter, CacheElementPopulator
- Direct Known Subclasses:
- FilterLdap, FilterPubcookie, FilterXmlUserfile
public abstract class BaseCaching
- extends BaseContributing
- implements CacheElementPopulator
- Author:
- Bill Niebel
| Fields inherited from class org.fcrepo.server.security.servletfilters.BaseContributing |
AUTHENTICATE, EMPTY_ARRAY, EMPTY_MAP, EMPTY_RESULTS, EMPTY_RESULTS_KEY, FILTERS_CONTRIBUTING_AUTHENTICATED_ATTRIBUTES, FILTERS_CONTRIBUTING_SPONSORED_ATTRIBUTES, LOG_STACK_TRACES, LOG_STACK_TRACES_KEY, NULL_SET, PW_0, PW_0_KEY, PW_NULL, PW_NULL_KEY, SKIP_FILTER, SURROGATE_ATTRIBUTE, SURROGATE_ATTRIBUTE_KEY, SURROGATE_ROLE, SURROGATE_ROLE_KEY, UNAUTHENTICATE_USER_CONDITIONALLY, UNAUTHENTICATE_USER_UNCONDITIONALLY, USE_FILTER |
| Methods inherited from class org.fcrepo.server.security.servletfilters.Base |
booleanValue, enter, enterExit, exit, fail, format, format, format, getClassName, pass, passFail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPONSORING
protected boolean SPONSORING
LOOKUP_SUCCESS_TIMEOUT_UNIT_KEY
public static final String LOOKUP_SUCCESS_TIMEOUT_UNIT_KEY
- See Also:
- Constant Field Values
LOOKUP_SUCCESS_TIMEOUT_DURATION_KEY
public static final String LOOKUP_SUCCESS_TIMEOUT_DURATION_KEY
- See Also:
- Constant Field Values
AUTHN_FAILURE_TIMEOUT_UNIT_KEY
public static final String AUTHN_FAILURE_TIMEOUT_UNIT_KEY
- See Also:
- Constant Field Values
AUTHN_FAILURE_TIMEOUT_DURATION_KEY
public static final String AUTHN_FAILURE_TIMEOUT_DURATION_KEY
- See Also:
- Constant Field Values
LOOKUP_EXCEPTION_TIMEOUT_UNIT_KEY
public static final String LOOKUP_EXCEPTION_TIMEOUT_UNIT_KEY
- See Also:
- Constant Field Values
LOOKUP_EXCEPTION_TIMEOUT_DURATION_KEY
public static final String LOOKUP_EXCEPTION_TIMEOUT_DURATION_KEY
- See Also:
- Constant Field Values
AUTHENTICATE_KEY
public String AUTHENTICATE_KEY
AUTHENTICATED_USER_KEY
public String AUTHENTICATED_USER_KEY
SPONSORED_USER_KEY
public String SPONSORED_USER_KEY
BaseCaching
public BaseCaching()
getCache
protected final Cache getCache(String filterName)
init
public void init(javax.servlet.FilterConfig filterConfig)
- Specified by:
init in interface javax.servlet.Filter- Overrides:
init in class BaseContributing
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Filter- Overrides:
destroy in class BaseContributing
getNewCache
protected Cache getNewCache()
initThisSubclass
protected void initThisSubclass(String key,
String value)
- Overrides:
initThisSubclass in class BaseContributing
authenticate
protected boolean authenticate(boolean alreadyAuthenticated)
- Specified by:
authenticate in class BaseContributing
authenticate
public void authenticate(ExtendedHttpServletRequest extendedHttpServletRequest)
throws Exception
- Specified by:
authenticate in class BaseContributing
- Throws:
Exception
contributeAttributes
public void contributeAttributes(ExtendedHttpServletRequest extendedHttpServletRequest,
String userid,
String password)
throws Exception
- Throws:
Exception
contributeAuthenticatedAttributes
public void contributeAuthenticatedAttributes(ExtendedHttpServletRequest extendedHttpServletRequest)
throws Exception
- Specified by:
contributeAuthenticatedAttributes in class BaseContributing
- Throws:
Exception
contributeSponsoredAttributes
public void contributeSponsoredAttributes(ExtendedHttpServletRequest extendedHttpServletRequest)
throws Exception
- Specified by:
contributeSponsoredAttributes in class BaseContributing
- Throws:
Exception
populateCacheElement
public void populateCacheElement(CacheElement cacheElement,
String password)
- Specified by:
populateCacheElement in interface CacheElementPopulator
Copyright © 2011 DuraSpace. All Rights Reserved.