tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chong Yu Meng <>
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
( 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 !
>Mark Thomas <> wrote:
>You need to write a custom realm.
>>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 ?
>浪漫鈴聲  情心連繫

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message