tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chong Yu Meng <chon...@cymulacrum.net>
Subject Re: Urgent pls help ! Protection problems of using Realm
Date Thu, 15 Apr 2004 13:20:17 GMT
An easier method would be to use SecurityFilter
(http://securityfilter.sourceforge.net/). There is an example web
application (actually several web apps) bundled with the software. Just
look at the code and I think you'll find it fairly straightforward to
implement what you want.

a a wrote:

>Dear all,
> 
>  I do not have any idea of writing a custom realm, even how to start 
>writing it. Can you give me some example or any references that teaching how to write
a custom realm ?
> 
>  Thankyou very much !
> 
>kawai
>
>Mark Thomas <markt@apache.org> wrote:
>You need to write a custom realm.
>
>Mark
>
>  
>
>>My case is that I can't store the username and password of 
>>the roles and users in my server. I need to send the 
>>authenication information in a format of xml file to a 
>>foreign server and get back the login result from that 
>>server. So I can't use Realm to check the roles and password 
>>and do authentication directly in my server. 
>>
>>Is there any method that can solve that problem ? or any 
>>method instead of using Realm ? or override the current 
>>settings of Realm ?
>>    
>>
>
>必殺技、飲歌、小星星...
>浪漫鈴聲  情心連繫
>http://ringtone.yahoo.com.hk/
>
>  
>

-- 
"There is nothing so absurd but some philosopher has said it." 
		-- Marcus Tullius Cicero
+----------------------------------------------------------------+
| Pascal Chong                                                   |
| email: chongym@cymulacrum.net                                  |
|                                                                |
| Please visit my site at : http://cymulacrum.net                |
| If you're using my documentation, please read the Terms and    |
| and Conditions at http://cymulacrum.net/terms.html             |
+----------------------------------------------------------------+



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message