tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kerrin Hardy" <Kerrin.Ha...@golleyslater.co.uk>
Subject Re: Realms and Remote Address
Date Mon, 03 Mar 2008 14:34:16 GMT
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
<47C71596.6060704@christopherschultz.net>, Christopher Schultz
<chris@christopherschultz.net> 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: users-unsubscribe@tomcat.apache.org 
For additional commands, e-mail: users-help@tomcat.apache.org 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message