Contents
- Tomcat tutorial
- What is Tomcat valve?
- Tomcat security realms
- Log4j project
- Log4j appenders
- Log4j configurators
- How to install Apache & Tomcat server
- Tomcat deployment
- Configure Tomcat
- How to use Tomcat manager
- Jakarta Tomcat server overview
- Jakarta Tomcat server (part 2)
- Persistend sessions
- Embedding Tomcat services
- Find out more about Tomcat architecture
- How to install tomcat on Windows & Linux
Jakarta Tomcat server (part 2)
Specialized Realm Implementations
Tomcat provides two methods for protecting resources. The first authentication implementation provided with Tomcat is a memory realm. The class that implements the memory realm is org.apache.catalina.realm.MemoryRealm.
The MemoryRealm class uses a simple XML file as a container of users. The second authentication implementation included with Tomcat is a JDBC realm.
A JDBCRealm class is much like the MemoryRealm, with the exception of where it stores its collection of users. A JDBCRealm stores all of its users in a userdefined, JDBC-compliant database.
Professionally setup tomcat services can be found on this website. Check out our java hosting offer and find many interesting solutions that we have developed.
Tomcat Valves
Tomcat valves are a new technology introduced with Tomcat 4. They allow you to associate an instance of a Java class with a particular Catalina container.
Valves are proprietary to Tomcat and cannot, at this time, be used in a different servlet/JSP container.