[opencms-dev] integration with spring security
Christian Steinert
christian_steinert at web.de
Fri May 14 15:43:08 CEST 2010
On 13.05.2010 15:14, Valerio Synclab wrote:
>
> Hi list,
>
> I am developing a web site with opencms which should have some
> restricted pages (only logged users can see these pages).
>
> Now I put the "restricted pages" into the offline project so only the
> users do the log-in can see these pages, but
>
> I would like to find out a solution when all the pages are into the
> public online project, my idea is to use spring-security
>
> but I haven't found any documentation about the integration of
> spring-security with opencms.
>
Keeping the pages in the offline project is not the best solution.
Instead, you should
* create a user group of users that are not allowed to log in into
the workplace
* change the permissions of your files so that they are only
readable by users from this user group and by workplace users
* all users that have access to your restricted sections should be
users in that user group
When opencms hits a resource for which the user does not have read
permission and if the user is not logged in, opencms will automatically
ask for authentication. By default, http-authentication will be used but
opencms-wiki.org also has some information about how to configure a
form-based login instead.
> Is this integration possible?
>
Definitely possible
>
> Do you know any tutorial?
>
Take a look at opencmswiki.org - you might find something there
Kind regards
Christian
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100514/2c3e03f2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4738 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100514/2c3e03f2/attachment.bin>
More information about the opencms-dev
mailing list