You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Doppelfeld <ma...@gmx.net> on 2004/10/24 19:27:42 UTC
Default User with JDBC Realm
Hi together,
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.
Thanks in advance
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Sv: Default User with JDBC Realm
Posted by Roland Carlsson <ro...@alfa-moving.se>.
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" <ma...@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
Re: Default User with JDBC Realm
Posted by Mark Doppelfeld <ma...@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
Re: Default User with JDBC Realm
Posted by QM <qm...@brandxdev.net>.
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
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org