|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.ae.toolkit.server.servlet.filter.ContainerBasedFilter
This Container Based Authentication filter is designed to work with container managed security and authentication per the Servlet 2.3 specification. It also assumes that the web application container inlcudes Java™ Authentication and Authorization Service (JAAS) support and JAAS providers that allow for connection to user repositories (i.e. Active Directory and LDAP) that are supported by the Content Engine. The following are prerequisites for using this filter.
Field Summary | |
static java.lang.String |
CHALLENGE_PROXY_ENABLED
By default, the value is true, meaning that the application is configured with a single protected resource that is being used to trigger container-based user challenge. |
static java.lang.String |
CHALLENGE_PROXY_URI_KEY
The URI of a deployed page or resource that is configured to require authentication. |
protected static java.lang.Boolean |
challengeProxyEnabled
|
protected static java.lang.String |
challengeProxyURI
|
static WcmString |
incompleteConfiguration
|
protected static java.util.Map |
jaasMap
|
static java.lang.String |
PERIMETER_CHALLENGE_MODE_KEY
The flag value indicating whether or not the user challenge UI is being presented by the application or container - or not. |
protected static java.lang.Boolean |
perimeterChallengeMode
|
static java.lang.String |
SSO_PROXY_CONTEXT_PATH
The context path as presented by the SSO proxy server, if the SSO solution uses a proxy server, and its context path to the web application is different from the native context path. |
static java.lang.String |
SSO_PROXY_HOST
The host name as presented by the SSO proxy server, if the SSO solution uses a proxy server host different from the host name where the web application is natively deployed. |
static java.lang.String |
SSO_PROXY_PORT
The http port as presented by the SSO proxy server that is used to access the web application, if the SSO solution uses a proxy server host/port different from the port of the server where the application is natively deployed. |
static java.lang.String |
SSO_PROXY_SSL_PORT
The SSL port as presented by the SSO proxy server that is used to access the web application via SSL, if the SSO solution uses a proxy server SSL host/port different from the port of the server where the application is natively deployed. |
protected static java.lang.String |
ssoProxyContextPath
|
protected static java.lang.String |
ssoProxyHost
|
protected static java.lang.String |
ssoProxyPort
|
protected static java.lang.String |
ssoProxySSLPort
|
Constructor Summary | |
ContainerBasedFilter()
|
Method Summary | |
void |
destroy()
Stub required to satisfy Interface requirements. |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
Check the request for existence of a user Principal. |
static java.lang.String |
getBaseURL(javax.servlet.http.HttpServletRequest request)
Get the application context root URL, which will prefix the configured challengeProxyURI. |
void |
init(javax.servlet.FilterConfig filterConfig)
|
protected void |
sendUserChallenge(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform a redirect to the URI of the container-protected resource/JSP. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final WcmString incompleteConfiguration
public static final java.lang.String CHALLENGE_PROXY_ENABLED
public static final java.lang.String CHALLENGE_PROXY_URI_KEY
public static final java.lang.String PERIMETER_CHALLENGE_MODE_KEY
public static final java.lang.String SSO_PROXY_CONTEXT_PATH
public static final java.lang.String SSO_PROXY_HOST
public static final java.lang.String SSO_PROXY_SSL_PORT
public static final java.lang.String SSO_PROXY_PORT
protected static java.lang.Boolean challengeProxyEnabled
protected static java.lang.String challengeProxyURI
protected static java.lang.Boolean perimeterChallengeMode
protected static java.util.Map jaasMap
protected static java.lang.String ssoProxyContextPath
protected static java.lang.String ssoProxyHost
protected static java.lang.String ssoProxySSLPort
protected static java.lang.String ssoProxyPort
Constructor Detail |
public ContainerBasedFilter()
Method Detail |
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
servletRequest
- servletResponse
- filterChain
-
java.io.IOException
javax.servlet.ServletException
protected void sendUserChallenge(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
request
- response
-
java.io.IOException
public static java.lang.String getBaseURL(javax.servlet.http.HttpServletRequest request)
request
-
public void destroy()
destroy
in interface javax.servlet.Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |