fedora.server.security.servletfilters.pubcookie
Class FilterPubcookie

java.lang.Object
  extended by fedora.server.security.servletfilters.Base
      extended by fedora.server.security.servletfilters.FilterSetup
          extended by fedora.server.security.servletfilters.BaseContributing
              extended by fedora.server.security.servletfilters.BaseCaching
                  extended by fedora.server.security.servletfilters.pubcookie.FilterPubcookie
All Implemented Interfaces:
CacheElementPopulator, javax.servlet.Filter

public class FilterPubcookie
extends BaseCaching

Author:
Bill Niebel (niebel@virginia.edu)

Field Summary
static java.lang.String KEYSTORE_LOCATION_KEY
           
static java.lang.String KEYSTORE_PASSWORD_KEY
           
protected static org.apache.commons.logging.Log log
           
static java.lang.String PUBCOOKIE_LOGINPAGE_FORM_NAME_KEY
           
static java.lang.String PUBCOOKIE_LOGINPAGE_INPUT_NAME_PASSWORD_KEY
           
static java.lang.String PUBCOOKIE_LOGINPAGE_INPUT_NAME_USERID_KEY
           
static java.lang.String PUBCOOKIE_LOGINPAGE_URL_KEY
           
static java.lang.String PUBCOOKIE_NAME_KEY
           
static java.lang.String TRUSTSTORE_LOCATION_KEY
           
static java.lang.String TRUSTSTORE_PASSWORD_KEY
           
 
Fields inherited from class fedora.server.security.servletfilters.BaseCaching
AUTHENTICATE_KEY, AUTHENTICATED_USER_KEY, AUTHN_FAILURE_TIMEOUT_DURATION_KEY, AUTHN_FAILURE_TIMEOUT_UNIT_KEY, LOOKUP_EXCEPTION_TIMEOUT_DURATION_KEY, LOOKUP_EXCEPTION_TIMEOUT_UNIT_KEY, LOOKUP_SUCCESS_TIMEOUT_DURATION_KEY, LOOKUP_SUCCESS_TIMEOUT_UNIT_KEY, SPONSORED_USER_KEY, SPONSORING
 
Fields inherited from class fedora.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
 
Fields inherited from class fedora.server.security.servletfilters.FilterSetup
FILTER_NAME, inited, NOT_SET
 
Fields inherited from class fedora.server.security.servletfilters.Base
initErrors, StringArrayPrototype
 
Constructor Summary
FilterPubcookie()
           
 
Method Summary
 void destroy()
           
protected  void initThisSubclass(java.lang.String key, java.lang.String value)
           
 void populateCacheElement(CacheElement cacheElement, java.lang.String password)
           
 
Methods inherited from class fedora.server.security.servletfilters.BaseCaching
authenticate, authenticate, contributeAttributes, contributeAuthenticatedAttributes, contributeSponsoredAttributes, getCache, getNewCache, init
 
Methods inherited from class fedora.server.security.servletfilters.BaseContributing
doThisSubclass
 
Methods inherited from class fedora.server.security.servletfilters.FilterSetup
doFilter, getFilterNameAbbrev, wrap
 
Methods inherited from class fedora.server.security.servletfilters.Base
booleanValue, enter, enterExit, exit, fail, format, format, format, getClassName, pass, passFail, showThrowable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log

PUBCOOKIE_NAME_KEY

public static final java.lang.String PUBCOOKIE_NAME_KEY
See Also:
Constant Field Values

PUBCOOKIE_LOGINPAGE_URL_KEY

public static final java.lang.String PUBCOOKIE_LOGINPAGE_URL_KEY
See Also:
Constant Field Values

PUBCOOKIE_LOGINPAGE_FORM_NAME_KEY

public static final java.lang.String PUBCOOKIE_LOGINPAGE_FORM_NAME_KEY
See Also:
Constant Field Values

PUBCOOKIE_LOGINPAGE_INPUT_NAME_USERID_KEY

public static final java.lang.String PUBCOOKIE_LOGINPAGE_INPUT_NAME_USERID_KEY
See Also:
Constant Field Values

PUBCOOKIE_LOGINPAGE_INPUT_NAME_PASSWORD_KEY

public static final java.lang.String PUBCOOKIE_LOGINPAGE_INPUT_NAME_PASSWORD_KEY
See Also:
Constant Field Values

TRUSTSTORE_LOCATION_KEY

public static final java.lang.String TRUSTSTORE_LOCATION_KEY
See Also:
Constant Field Values

TRUSTSTORE_PASSWORD_KEY

public static final java.lang.String TRUSTSTORE_PASSWORD_KEY
See Also:
Constant Field Values

KEYSTORE_LOCATION_KEY

public static final java.lang.String KEYSTORE_LOCATION_KEY
See Also:
Constant Field Values

KEYSTORE_PASSWORD_KEY

public static final java.lang.String KEYSTORE_PASSWORD_KEY
See Also:
Constant Field Values
Constructor Detail

FilterPubcookie

public FilterPubcookie()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter
Overrides:
destroy in class BaseCaching

initThisSubclass

protected void initThisSubclass(java.lang.String key,
                                java.lang.String value)
Overrides:
initThisSubclass in class BaseCaching

populateCacheElement

public void populateCacheElement(CacheElement cacheElement,
                                 java.lang.String password)
Specified by:
populateCacheElement in interface CacheElementPopulator
Overrides:
populateCacheElement in class BaseCaching