You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zsolt Koppany <zk...@intland.com> on 2004/04/06 21:23:27 UTC

How to find the Realm of my application?

Hi,

how can I find the Realm of my tomcat application from a servlet or a
filter? The reason is I want to call the authenticate method depending on
application logic.

I use tomcat-5.

Zsolt




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


Re: How to find the Realm of my application?

Posted by Jeanfrancois Arcand <jf...@apache.org>.
You will need to write a valve in you want to interact with a Realm. See

> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html


The Realm is not available either to the servlet nor filter.

-- Jeanfrancois

Zsolt Koppany wrote:

>Hi,
>
>how can I find the Realm of my tomcat application from a servlet or a
>filter? The reason is I want to call the authenticate method depending on
>application logic.
>
>I use tomcat-5.
>
>Zsolt
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>


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