|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.ui.core.SecurityContextFilter
public class SecurityContextFilter
Filter that sets the security information for the scope of the current request.
Constructor Summary | |
---|---|
SecurityContextFilter()
|
Method Summary | |
---|---|
void |
destroy()
Destroys the filter. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Performs a temporary JAAS login for the duration of the request. |
void |
init(javax.servlet.FilterConfig config)
Initializes the filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityContextFilter()
Method Detail |
---|
public void init(javax.servlet.FilterConfig config)
init
in interface javax.servlet.Filter
config
- the filter configuration objectpublic void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
getUsername()
and getPassword()
methods. Nothing is done when the first
returns null.
doFilter
in interface javax.servlet.Filter
request
- the (http) requestresponse
- the (http) responsechain
- the filter chain
java.io.IOException
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |