jrun.servlet.security
Class JSecurityCheckFilter
java.lang.Object
|
+--jrun.servlet.security.JSecurityCheckFilter
- All Implemented Interfaces:
- SecurityFilter
- public class JSecurityCheckFilter
- extends java.lang.Object
- implements SecurityFilter
|
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Attempt to authenticate and authorize a session for the requested resource. |
java.lang.String |
getMapping()
|
void |
init(javax.servlet.FilterConfig config)
|
static boolean |
isJSecurityCheck(javax.servlet.http.HttpServletRequest req)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JSecurityCheckFilter
public JSecurityCheckFilter(WebAppSecurity appSecurity)
destroy
public void destroy()
init
public void init(javax.servlet.FilterConfig config)
getMapping
public java.lang.String getMapping()
- Specified by:
getMapping in interface SecurityFilter
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException,
java.io.IOException
- Attempt to authenticate and authorize a session for the requested resource.
Since each filter is mapped directly to a security contraint url pattern,
this is always a request that needs to be checked, although it will
not neccesarily be a request that is authenticated or authorized.
- Parameters:
request - The requestresponse - The response
isJSecurityCheck
public static boolean isJSecurityCheck(javax.servlet.http.HttpServletRequest req)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright � 2002 Macromedia Corporation. All Rights Reserved.