public class TestingLoginFilter extends Object implements javax.servlet.Filter
Note this should only be used for load testing!
| Constructor and Description |
|---|
TestingLoginFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Looks for a login user request parameter and establishs a user session for that user, then simply
returns a login message.
|
void |
init(javax.servlet.FilterConfig filterConfig) |
public TestingLoginFilter()
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.FilterCopyright © 2005–2017 The Kuali Foundation. All rights reserved.