You can take a look at Tomcat's own realms in http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/
Also, take a look at my AccountLockoutDatasourceRealm at http://lockout-realm.cvs.sourceforge.net/lockout-realm/lockout-realm/src/com/ofc/tomcat/ Although I don't claim that my code is worthy of emulating ;) On Wednesday 10 October 2007, quanxin zhu wrote: > Hi, Everyone, > > Where could I find the document of how to write a custom realm? > > Many Thanks! > > > zhu -- Nicholas Sushkin, Senior Software Engineer http://www.openfinance.com http://www.wealthinformationexchange.com
smime.p7s
Description: S/MIME cryptographic signature