[opencms-dev] OpenCMS loginUser does help
Thomas Maerz
thomasmaerz at gmx.de
Wed Nov 27 17:31:28 CET 2002
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
More information about the opencms-dev
mailing list