ca.bc.gov.webade.j2ee
Class OrganizationSelectionFilter

java.lang.Object
  extended byca.bc.gov.webade.j2ee.OrganizationSelectionFilter
All Implemented Interfaces:
javax.servlet.Filter

public final class OrganizationSelectionFilter
extends java.lang.Object
implements javax.servlet.Filter

Author:
jross

Field Summary
static java.lang.String WEBADE_DEFAULT_ORGANIZATION_SELECT_BY_ORGANIZATION_TYPE
          The attribute name for the indicator that defines which organizations the user can select from when selecting a default organization.
static java.lang.String WEBADE_DEFAULT_ORGANIZATION_SWITCH_PAGE
          The attribute name for the web page used to allow a user with multiple organizations to select one as his default when logging in to the application.
static java.lang.String WEBADE_USE_DEFAULT_ORGANIZATION_ENABLED_FLAG
          The attribute name for the flag used to indicate whether to forego the organization selection screen when a default organization is selected.
 
Constructor Summary
OrganizationSelectionFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBADE_USE_DEFAULT_ORGANIZATION_ENABLED_FLAG

public static final java.lang.String WEBADE_USE_DEFAULT_ORGANIZATION_ENABLED_FLAG
The attribute name for the flag used to indicate whether to forego the organization selection screen when a default organization is selected.

See Also:
Constant Field Values

WEBADE_DEFAULT_ORGANIZATION_SELECT_BY_ORGANIZATION_TYPE

public static final java.lang.String WEBADE_DEFAULT_ORGANIZATION_SELECT_BY_ORGANIZATION_TYPE
The attribute name for the indicator that defines which organizations the user can select from when selecting a default organization.

See Also:
Constant Field Values

WEBADE_DEFAULT_ORGANIZATION_SWITCH_PAGE

public static final java.lang.String WEBADE_DEFAULT_ORGANIZATION_SWITCH_PAGE
The attribute name for the web page used to allow a user with multiple organizations to select one as his default when logging in to the application.

See Also:
Constant Field Values
Constructor Detail

OrganizationSelectionFilter

public OrganizationSelectionFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException
See Also:
Filter.init(javax.servlet.FilterConfig)

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException
See Also:
Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter
See Also:
Filter.destroy()