tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Carlsson <rol...@alfa-moving.se>
Subject Sv: Default User with JDBC Realm
Date Mon, 25 Oct 2004 06:06:16 GMT
Hi Mark!

I'll guess that this quailfies as a "quick and dirty" solution but how about
trying to make a programatic login in your "login.htm" page. Have the page
do a request (response.sendRedirect or something) to the j_security_check
with some "Anonomuys" authentication.

Regards
Roland Carlsson




Den 04-10-24 20.32, skrev "Mark Doppelfeld" <mark.doppelfeld@gmx.net>:

> Because that would mean to maintain a lot of urls which are public (but
> don't) belong to the same sub url (like /public/... and /protected/...)
> 
> QM wrote:
> 
>> On Sun, Oct 24, 2004 at 07:27:42PM +0200, Mark Doppelfeld wrote:
>> : is there any way to have an "Default User" authenticated vs the JDBC Realm.
>> : Our custom wants to have the user guest logged in by default, and you
>> : can then 'login' with your credentials via an explicit link within the
>> : webapp.
>> 
>> Why not just make the guest-related areas public?
>> 
>> -QM
>> 
>>  
>> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message