I have been looking for a authenticate(user) method, but cannot seem to find
one, as I need to do something similar. Any ideas?

-----Original Message-----
From: Ken Johanson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 15 January 2006 4:28 PM
To: Tomcat Users List
Subject: Re: Alternative Realm impl. that supports: boolean
authenticate(String user, String pass) or void doLogin(Prinicipal p)?

> 
> Hmm, I see from all the org.apache.catalina.Realm implementations that 
> come with Tomcat, that authenticate(user,pass) is already there - but I 
> currently don't know how to gain access to the Realm service from within 
> a servlet/jsp (where my controller might be)... and it seems to me that 
> it may not even be allowed (by design), since there could be security 
> implications to exposing all those interface methods to the servlet 
> level.. but if its possible, I'll take it! :-)
> 
> Thanks,
> ken
> 
> 

... clearing my throat, and pretending to be 3rd-person ....

"Ken, take a look at this : 
http://wiki.apache.org/tomcat/HowTo#head-42e95596753a1fa4a4aa396d53010680e3d
509b5"

Many thanks to Yoav Shapira for having contributed that info!! Awesome!

ken



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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 14/01/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 14/01/2006
 


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

Reply via email to