public abstract class BaseCaching extends BaseContributing implements CacheElementPopulator
| Modifier and Type | Field and Description |
|---|---|
String |
AUTHENTICATE_KEY |
String |
AUTHENTICATED_USER_KEY |
static String |
AUTHN_FAILURE_TIMEOUT_DURATION_KEY |
static String |
AUTHN_FAILURE_TIMEOUT_UNIT_KEY |
static String |
LOOKUP_EXCEPTION_TIMEOUT_DURATION_KEY |
static String |
LOOKUP_EXCEPTION_TIMEOUT_UNIT_KEY |
static String |
LOOKUP_SUCCESS_TIMEOUT_DURATION_KEY |
static String |
LOOKUP_SUCCESS_TIMEOUT_UNIT_KEY |
String |
SPONSORED_USER_KEY |
protected boolean |
SPONSORING |
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_FILTERFILTER_NAME, inited, NOT_SETinitErrors, StringArrayPrototype| Constructor and Description |
|---|
BaseCaching() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authenticate(boolean alreadyAuthenticated) |
void |
authenticate(ExtendedHttpServletRequest extendedHttpServletRequest) |
void |
contributeAttributes(ExtendedHttpServletRequest extendedHttpServletRequest,
String userid,
String password) |
void |
contributeAuthenticatedAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) |
void |
contributeSponsoredAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) |
void |
destroy() |
protected Cache |
getCache(String filterName) |
protected Cache |
getNewCache() |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected void |
initThisSubclass(String key,
String value) |
void |
populateCacheElement(CacheElement cacheElement,
String password) |
doThisSubclassdoFilter, getFilterNameAbbrev, init, setConfig, wrapprotected boolean SPONSORING
public static final String LOOKUP_SUCCESS_TIMEOUT_UNIT_KEY
public static final String LOOKUP_SUCCESS_TIMEOUT_DURATION_KEY
public static final String AUTHN_FAILURE_TIMEOUT_UNIT_KEY
public static final String AUTHN_FAILURE_TIMEOUT_DURATION_KEY
public static final String LOOKUP_EXCEPTION_TIMEOUT_UNIT_KEY
public static final String LOOKUP_EXCEPTION_TIMEOUT_DURATION_KEY
public String AUTHENTICATE_KEY
public String AUTHENTICATED_USER_KEY
public String SPONSORED_USER_KEY
public void init(javax.servlet.FilterConfig filterConfig)
init in interface javax.servlet.Filterinit in class BaseContributingpublic void destroy()
destroy in interface javax.servlet.Filterdestroy in class BaseContributingprotected Cache getNewCache()
protected void initThisSubclass(String key, String value)
initThisSubclass in class BaseContributingprotected boolean authenticate(boolean alreadyAuthenticated)
authenticate in class BaseContributingpublic void authenticate(ExtendedHttpServletRequest extendedHttpServletRequest) throws Exception
authenticate in class BaseContributingExceptionpublic void contributeAttributes(ExtendedHttpServletRequest extendedHttpServletRequest, String userid, String password) throws Exception
Exceptionpublic void contributeAuthenticatedAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) throws Exception
contributeAuthenticatedAttributes in class BaseContributingExceptionpublic void contributeSponsoredAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) throws Exception
contributeSponsoredAttributes in class BaseContributingExceptionpublic void populateCacheElement(CacheElement cacheElement, String password)
populateCacheElement in interface CacheElementPopulatorCopyright © 2013 DuraSpace. All Rights Reserved.