Re: Realms and Remote Address

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerrin, Kerrin Hardy wrote: | 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. Excellent. | I hope there are no bugs in the

Re: Realms and Remote Address

2008-03-03 Thread Kerrin Hardy
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 PR

Re: Realms and Remote Address

2008-02-28 Thread Christopher Schultz
-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 SimpleSecurityRe

Re: Realms and Remote Address

2008-02-28 Thread Kerrin Hardy
Chris, Thanks for all your help so far. 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 to

Re: Realms and Remote Address

2008-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerrin, Kerrin Hardy wrote: | I have investigated Security Filter, and I don't see how that gives | me access to the IP address of the client. You have to implement your own Realm. If you use FlexibleRealmInterface, you have access to the entire Htt

Re: Realms and Remote Address

2008-02-27 Thread Kerrin Hardy
Hi, Thanks for that. I have investigated Security Filter, and I don't see how that gives me access to the IP address of the client. It is upmost importance that I log the IP address of both successful and unsuccessful logon attempts, which is why this must be done outside the application.

Re: Realms and Remote Address

2008-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerrin, Kerrin Hardy wrote: | I'm trying to create a Realm that authenticates a user and logs the | IP address they attempted from, but I am having trouble finding how I | get the IP address of the request (the Remote IP Address). This is not possib

Re: Realms and Remote Address

2008-02-25 Thread Mark Thomas
Kerrin Hardy wrote: I'm trying to create a Realm that authenticates a user and logs the IP address they attempted from, but I am having trouble finding how I get the IP address of the request (the Remote IP Address). I know I could get it if I had the Socket object, but I don't see how I get

Re: Realms

2006-11-25 Thread Asare Samuel
olivier nouguier, Thank you so much, a great help! sam olivier nouguier <[EMAIL PROTECTED]> wrote: On 11/25/06, Asare Samuel wrote: > > Thank you for your speedly reply. Let me get this straight are you saying > you can't access the login page directly and that the only thing that sh

Re: Realms

2006-11-25 Thread olivier nouguier
On 11/25/06, Asare Samuel <[EMAIL PROTECTED]> wrote: Thank you for your speedly reply. Let me get this straight are you saying you can't access the login page directly and that the only thing that should be accessed directly is the item (ie page)your are protecting. Yes definitively, when us

Re: Realms

2006-11-24 Thread Asare Samuel
Thank you for your speedly reply. Let me get this straight are you saying you can't access the login page directly and that the only thing that should be accessed directly is the item (ie page)your are protecting. If so, you have hit the nail on the head. I am currently allowing the user t

Re: Realms

2006-11-24 Thread olivier nouguier
hi, You are using the FORM authentication scheme! This scheme imply that: 1: a secured resource is accessed. 2: login (error-page) is given 3: login occures 4: secured resource (1) is given (with a GET !) 408 error code may occurs if: a - login page is access directly ( starting at stage 2). b

Re: Realms

2006-01-13 Thread Khawaja Shams
I have gotten JDBC realm to work with 5.5.12. On 1/13/06, Vinny <[EMAIL PROTECTED]> wrote: > > Hello, > I decided to give 5.5.15 a try and I am not able to get any > Realm implementation to work except for MemoryRealm. > This is the same issue that I have been having in 5.5.14. > I can confirm tha