|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
| ContextInterceptor | Notifications for all context events. |
| FacadeManager | Control for facades - this is the only "gate" between servlets and tomcat. |
| Request | |
| RequestInterceptor | Provide a mechanism to customize the request processing. |
| Response | |
| ServerConnector | This is the adapter between the servlet world and the protocol implementation. |
| ServletLoader | Handle servlet and resource reloading |
| Class Summary | |
| BaseInterceptor | |
| BufferedServletInputStream | Default implementation use RequestAdapter to read data. |
| BufferedServletOutputStream | Works only if you extend ResponseImpl and override doWrite() - all other implementations of Response should provide their own Stream |
| Constants | |
| Container | A group of resources, with some common properties. |
| Context | Context represent a Web Application as specified by Servlet Specs. |
| ContextManager | ContextManager is the entry point and "controler" of the servlet execution. |
| Handler | The class that will generate the actual response. |
| RequestImpl | |
| ResponseImpl | |
| ServletWrapper | Class used to represent a servlet inside a Context. |
| Exception Summary | |
| TomcatException | General Tomcat exception |
Required steps:
The model we used is JAAS - the authenticator is a separate module that will find if enough credentials are available. We use a "normal" tomcat module to "glue" between an auth API ( like JAAS or memoryRealm or catalina Realm if needed ) and tomcat's internal representation of request. ( no "callbacks" yet - just static util functions to extract credentials from request. )
We provide a simple implementation for standalone tomcat.:
In "production" mode we expect tomcat to be integrated with various systems. Most web servers are using a similar mechanism - as long as the server is handling the static files we need to let him deal with authorization/authentication. The only special case is Form based login, where the connector should forward the request to tomcat. ( no complete implementation yet ).
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||