Re: My Solution to Intercepting Login Information Realm Username Password from TagSupport

2003-11-24 Thread Adam Hardy
On 11/21/2003 09:57 PM Hart, Justin wrote:
-Original Message- 
On 11/21/2003 09:11 PM Hart, Justin wrote:

I think that what we BOTH need to do in this case is create a
subclass of whatever realm we are using, and using this subclass
provide our specific functionality, in my case authenticating to a
database, in yours logging.

You and Gary related?
Doubt it - I'm a Brit and Gary seems to be American. We might not be 
Smiths, but Hardys are not that rare.

Yeah, I use getRemoteUser() elsewhere, but have already started my
multi-tiered authentication implementation by subclassing JNDIRealm,
seems to work well enough :-)
Guess I completely misunderstood what you are talking about. Thought you 
were using CMS.

Adam
--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: My Solution to Intercepting Login Information Realm Username Password from TagSupport

2003-11-21 Thread Adam Hardy
On 11/21/2003 09:11 PM Hart, Justin wrote:
I think that what we BOTH need to do in this case is create a subclass of whatever realm we are using, and using this subclass provide our specific functionality, in my case authenticating to a database, in yours logging.
I just tried searching the archives to find the thread but it's so slow 
I am getting frustrated - basically I'm not a guru if you weigh my 
questions against my answers on this list, but I did answer that 
question to say you cannot intercept login info when using CMS but you 
can get, after the event, the login name from request.getRemoteUser().



Adam
--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: My Solution to Intercepting Login Information Realm Username Password from TagSupport

2003-11-21 Thread Hart, Justin
You and Gary related?

Yeah, I use getRemoteUser() elsewhere, but have already started my multi-tiered 
authentication implementation by subclassing JNDIRealm, seems to work well enough :-)

Justin

Justin

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 3:54 PM
To: Tomcat Users List
Subject: Re: My Solution to Intercepting Login Information  Realm
Username  Password from TagSupport


On 11/21/2003 09:11 PM Hart, Justin wrote:
 I think that what we BOTH need to do in this case is create a subclass of whatever 
 realm we are using, and using this subclass provide our specific functionality, in 
 my case authenticating to a database, in yours logging.

I just tried searching the archives to find the thread but it's so slow 
I am getting frustrated - basically I'm not a guru if you weigh my 
questions against my answers on this list, but I did answer that 
question to say you cannot intercept login info when using CMS but you 
can get, after the event, the login name from request.getRemoteUser().




Adam
-- 
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]