[opencms-dev] (no subject)
Michael Goodwin
mgoodwin at amadeus.net
Thu Jul 15 18:19:00 CEST 2004
Well, not sure which version. In 5.3.5 you need to change the inherited
permissions from the guest group so that there isn't any longer read or
write access. These pages will then get forwarded to the login page if the
user isn't logged in. I guess something similar happens in the earlier
versions.
From: "Oliver Pereira" <Oliver.Pereira at dna.co.uk>@opencms.org on
15/07/2004 16:00
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: <opencms-dev at opencms.org>
cc:
Subjec RE: [opencms-dev] (no subject)
t:
Thanks for the quick response
How do I setup the authentication on the folders in the protected area
so that the login page is only displayed when navigation to the
protected area?
Regards,
Oliver
-----Original Message-----
From: Michael Goodwin [mailto:mgoodwin at amadeus.net]
Sent: 15 July 2004 11:30
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] (no subject)
You need to write a jsp page which does the logging in. See the javadocs
for CmsObject, but something like
CmsUser user = cmso.loginUser(username,password);
This sets the user for the session.
Then to get the redirect you have to find in the properties file, turn
off basic http authentication and specify a login page. The page should
also get passed the paremeter "requestResource" in the event that a user
is redirected to your login page.
From: "Oliver Pereira" <Oliver.Pereira at dna.co.uk>@opencms.org on
15/07/2004 10:49
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: <opencms-dev at opencms.org>
cc:
Subjec [opencms-dev] (no subject)
t:
Hi,
This may have been asked a couple of times before, but I have not seen
any solution to this.
I would like to use basic forms based authentication for some parts of
the site so that when the user visits that part of the site a login is
required to access that area.
This will not be a exported site but running dynamically in opencms.
Something like:
1) User requests page within a folder in the protected area.
2) User is redirected to login page within opencms site.
3) On Login, the page is displayed to the user.
4) On Failure the user is taken back either to the previous page or to
the home page
I am using: OpenCms 5.3.6x and Tomcat 4.1.24
Regards,
Oliver
_______________________________________________
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
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
_______________________________________________
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