[opencms-dev] OpenCMS loginUser does help

Nico Krause Nico.Krause at nsc.eu.com
Thu Nov 28 15:19:37 CET 2002


Hello Thomas,

Thanks for this tip. I guess also that this will lead to my required
solution. But I think the /authenticate.html
Should have also a kind of logon mechanism. 

Do you have any idea how the JAVA Code for this template have to look like?

Thank you very much for this time!

Nico

-----Original Message-----
From: Thomas Maerz [mailto:thomasmaerz at gmx.de] 
Sent: Mittwoch, 27. November 2002 17:31
To: opencms-dev at www.opencms.org
Subject: Re: [opencms-dev] OpenCMS loginUser does help

Hello Nico,
  
> I login a user with cms.loginuser(username,password) the login works. I
can
> check the logged inUsers with OpenCMS API. 
> But If I want to enter a protected area - a HTTP-AUTH pops up. So the user
> have authenticate a second time. 
> The area where the login form - there is no authentication required.
>  
> What can I do - for also setting the HTTP-AUTH at the same time? Or
> disabling the HTTP-AUTH for this user session - after login 
> with cms.loginuser ? 

Guess this helps:

,----[ opencms.properties ]
| # Select authentication mode:
| # true = HTTP basic authentication
| # false = form based authentication
| # Give the URI in the system where the auth.form resides.
| ##########################################################
| auth.basic=false
| auth.form_uri=/path/to/login/index.html
`----

Regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021128/e780b398/attachment.htm>


More information about the opencms-dev mailing list