com.carbonfive.flashgateway.security
Class GatekeeperFilter
java.lang.Object
com.carbonfive.flashgateway.security.GatekeeperFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- public class GatekeeperFilter
- extends java.lang.Object
- implements javax.servlet.Filter
GatekeeperFilter is a standard Servlet 2.3 Filter that is designed
to inspect the AMF messsage sent by a Flash MX client when trying
to invoke a service in the servlet container through Macromedia
Flash Remoting MX for J2EE. GatekeeperFilter uses classes in the Flash
Remoting distribution to parse AMF messages.
GatekeeperFilter relies on Gatekeeper to determine if a particular service
invocation is allowed.
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig config)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GatekeeperFilter
public GatekeeperFilter()
init
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException