|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.ui.RedirectFilter
A servlet Filter
that provides redirection controls for the Identity
Manager Pages. This filter allows the user to create custom Filter
s
without creating a new Filter class. To create a redirect filter you must modify web.xml
and redirectFilterConfig.xml.
Changes to web.xml:
com.waveset.ui.RedirectFilter
.
The init parameter configFileMapping
represents the name of then
configuration file to look in for the filter object
The init parameter configFilePath
represents the path to retrieve the list
of filter GenericObjects from.
Nested Class Summary | |
protected class |
RedirectFilter.RedirectRule
|
Field Summary | |
static java.lang.String |
ACTION
|
static java.lang.String |
ACTION_FORWARD
|
static java.lang.String |
ACTION_REDIRECT
|
static java.lang.String |
CLASS
|
static java.lang.String |
code_id
|
static java.lang.String |
DEFAULT_REPOSITORY_ID
The repository ID for the default User Action Configuration object. |
static java.lang.String |
PARAM_CONFIG_MAPPING
|
static java.lang.String |
PARAM_CONFIG_PATH
|
static java.lang.String |
REDIRECT_FILTER_CONFIG_MAPPING
The System Configuration attribute name that contains the mapping for the User Actions Config. |
static java.lang.String |
SOURCE
|
static java.lang.String |
TARGET
|
static Trace |
trace
|
Constructor Summary | |
RedirectFilter()
|
Method Summary | |
void |
destroy()
Destroy the filter. |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp,
javax.servlet.FilterChain chain)
Perform the matching routine on the loaded urls. |
void |
init(javax.servlet.FilterConfig config)
Initialize the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String CLASS
public static final Trace trace
public static final java.lang.String DEFAULT_REPOSITORY_ID
public static final java.lang.String REDIRECT_FILTER_CONFIG_MAPPING
public static final java.lang.String PARAM_CONFIG_MAPPING
public static final java.lang.String PARAM_CONFIG_PATH
public static final java.lang.String ACTION_FORWARD
public static final java.lang.String ACTION_REDIRECT
public static final java.lang.String ACTION
public static final java.lang.String SOURCE
public static final java.lang.String TARGET
Constructor Detail |
public RedirectFilter()
Method Detail |
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
config
- The FilterConfig
with which to initialize
the filter.
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
req
- The ServletRequest
.resp
- The ServletResponse
.chain
- The FilterChange
to be processed after this
filter has been executed.
java.io.IOException
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |