And I thought I was just missing something obvious. Using the code from CVS and changing my authentication code to implement the FlexibleRealmInterface has worked. I hope there are no bugs in the version of code I have. Thanks again. Kerrin
>>> On 28/02/2008 at 20:12, in message <[EMAIL PROTECTED]>, Christopher Schultz <[EMAIL PROTECTED]> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kerrin, Kerrin Hardy wrote: | Thanks for all your help so far. No problem. | I have the Security Filter working now (I had never used filters | before, so I had a lot of reading to do), and my bespoke realm is now | inheriting from SimpleSecurityRealmBase instead of Realm, and is now | located in my application instead of in a jar in tomcat/server/lib). Good. | Although this still doesn't appear to give me access to the IP address. | I have tried to find the FlexibleRealmInterface you mentioned, but can | only find one mention of it on the entire internet, and that is in | another post you made on a different mailing list. | | Where do I get this? Aah, I see. FlexibleRealmInterface was only made available after the 2.0 release. You need to get the sources from CVS and build SF that way in order to get FlexibleRealmInterface. Oh course, you'll also need to use the JAR file you build from there in order to run your code (rather than the one you may have downloaded). We're working on a 2.1 release soonish so folks don't have to roll their own libraries to get the nice, new stuff. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ( http://enigmail.mozdev.org/ ) iEYEARECAAYFAkfHFZYACgkQ9CaO5/Lv0PB0BACguNrmdCzb9RgJxqE2NwA/PO3A esYAn2rWKyE6fu7cs1uUl+dE5foUDG6e =GGhl -----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]