Re: How to write a custom realm?
Thanks Very Much for your help! 2007/10/11, Tim Funk <[EMAIL PROTECTED]>: > > With any luck - this will be accurate enough: > > http://www.jroller.com/funkman/entry/howto_create_a_realm_in > > -Tim > > > On Wednesday 10 October 2007, quanxin zhu wrote: > > > >> Hi, Everyone, > >> > >> Where could I find the document of how to write a custom realm? > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: How to write a custom realm?
With any luck - this will be accurate enough: http://www.jroller.com/funkman/entry/howto_create_a_realm_in -Tim On Wednesday 10 October 2007, quanxin zhu wrote: Hi, Everyone, Where could I find the document of how to write a custom realm? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to write a custom realm?
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
Re: How to write a custom realm?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zhu, quanxin zhu wrote: > Where could I find the document of how to write a custom realm? Realm is just an interface: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/Realm.html Fortunately, there's a RealmBase class that should be able to help you out significantly. As for the implementation... that's up to you. Do you need something that isn't already provided by Tomcat? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHDOG79CaO5/Lv0PARAuMLAKCNMb7WJsAcO9jRdOHBFc7eekrWBQCdHgih AWAzm9zOZ1dRZpDeqANf7LQ= =adZG -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]