public abstract class BaseContributing extends FilterSetup
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
AUTHENTICATE |
static String[] |
EMPTY_ARRAY |
static Hashtable |
EMPTY_MAP |
String |
EMPTY_RESULTS |
static String |
EMPTY_RESULTS_KEY |
protected Collection |
FILTERS_CONTRIBUTING_AUTHENTICATED_ATTRIBUTES |
protected Collection |
FILTERS_CONTRIBUTING_SPONSORED_ATTRIBUTES |
protected boolean |
LOG_STACK_TRACES |
static String |
LOG_STACK_TRACES_KEY |
static HashSet |
NULL_SET |
String |
PW_0 |
static String |
PW_0_KEY |
String |
PW_NULL |
static String |
PW_NULL_KEY |
static String |
SKIP_FILTER |
protected String |
SURROGATE_ATTRIBUTE |
static String |
SURROGATE_ATTRIBUTE_KEY |
protected String |
SURROGATE_ROLE |
static String |
SURROGATE_ROLE_KEY |
static String |
UNAUTHENTICATE_USER_CONDITIONALLY |
static String |
UNAUTHENTICATE_USER_UNCONDITIONALLY |
static String |
USE_FILTER |
FILTER_NAME, inited, NOT_SETinitErrors, StringArrayPrototype| Constructor and Description |
|---|
BaseContributing() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
authenticate(boolean alreadyAuthenticated) |
protected abstract void |
authenticate(ExtendedHttpServletRequest extendedHttpServletRequest) |
protected abstract void |
contributeAuthenticatedAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) |
protected abstract void |
contributeSponsoredAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) |
void |
destroy() |
boolean |
doThisSubclass(ExtendedHttpServletRequest extendedHttpServletRequest,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected void |
initThisSubclass(String key,
String value) |
doFilter, getFilterNameAbbrev, init, setConfig, wrappublic static final HashSet NULL_SET
public static final Hashtable EMPTY_MAP
public static final String[] EMPTY_ARRAY
protected boolean AUTHENTICATE
protected Collection FILTERS_CONTRIBUTING_AUTHENTICATED_ATTRIBUTES
protected Collection FILTERS_CONTRIBUTING_SPONSORED_ATTRIBUTES
public static final String SURROGATE_ROLE_KEY
protected String SURROGATE_ROLE
public static final String SURROGATE_ATTRIBUTE_KEY
protected String SURROGATE_ATTRIBUTE
public static final String USE_FILTER
public static final String SKIP_FILTER
public static final String UNAUTHENTICATE_USER_UNCONDITIONALLY
public static final String UNAUTHENTICATE_USER_CONDITIONALLY
public static final String PW_NULL_KEY
public String PW_NULL
public static final String PW_0_KEY
public String PW_0
public static final String EMPTY_RESULTS_KEY
public String EMPTY_RESULTS
public static final String LOG_STACK_TRACES_KEY
protected boolean LOG_STACK_TRACES
public void init(javax.servlet.FilterConfig filterConfig)
init in interface javax.servlet.Filterinit in class FilterSetuppublic void destroy()
destroy in interface javax.servlet.Filterdestroy in class FilterSetupprotected void initThisSubclass(String key, String value)
initThisSubclass in class FilterSetuppublic boolean doThisSubclass(ExtendedHttpServletRequest extendedHttpServletRequest, javax.servlet.http.HttpServletResponse response) throws Throwable
doThisSubclass in class FilterSetupThrowableprotected abstract void authenticate(ExtendedHttpServletRequest extendedHttpServletRequest) throws Exception
Exceptionprotected abstract void contributeAuthenticatedAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) throws Exception
Exceptionprotected abstract void contributeSponsoredAttributes(ExtendedHttpServletRequest extendedHttpServletRequest) throws Exception
Exceptionprotected abstract boolean authenticate(boolean alreadyAuthenticated)
Copyright © 2013 DuraSpace. All Rights Reserved.