[opencms-dev] Form based authentication?
Alexander Kandzior
alex at opencms.org
Tue May 3 07:39:30 CEST 2005
The settings are now in opencms-system.xml
<http-authentication>
<browser-based>true</browser-based>
<form-based>/system/login/myloginpage.html</form-based>
</http-authentication>
Then there is also a new feature: You can set the property "login-form" on
resources (define the property first of it's not there yet). Using this
property on a file or a folder, you can enable form based auth for
individual folders/files. With the property you can also have different
login forms for different parts of the site.
The property value must be the URI of the login form in the current site.
Login form will get a parameter what page was originally requested, so you
can redirect to original target after successful login. The <form-based>
node in the XML config is also the fallback if <browser-based> is set to
"false" and no property is found. The property value also works if
<browser-based> is "true".
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jakob Lemler
> Sent: Monday, May 02, 2005 5:20 PM
> To: 'The OpenCms mailing list'
> Subject: [opencms-dev] Form based authentication?
>
> Hi,
>
> installed 6.0 beta 3 today and tried to activate form based
> authentication for the closed user group part of my site...
> No idea where I can find the right configuration file or
> which row I have to change exactly.
>
> In version 5.0.1 the necessary entries were in
> opencms.properties where I could switch to form based
> authentication and could define the login page, but that does
> not work anymore.
>
> Anybody out there who can tell me how I can realize this
> again with beta 3?
> Or if there is a complete new mechanismen, please give me a
> short hint where I have to read on...
>
> Jdk 1.5.0_b2
> Tomcat 5.5.9
> Mysql 4.1.11
> Win xp sp 2
>
> Tia!
> Jakob
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To
> change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list