[opencms-dev] R: integration with spring security

Valerio Synclab v.vianello at synclab.it
Fri May 14 14:10:01 CEST 2010


Hi Christian,

 

On the wiki sites

I find only a tutorial about acegi
(http://opencms-wiki.org/Acegi_integration) but I would like to use
spring-security with spring 3

 

Do you have any reference about this?

 

Thank you

 

Valerio

 

Da: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
Per conto di Christian Steinert
Inviato: venerdì 14 maggio 2010 15.43
A: The OpenCms mailing list
Oggetto: Re: [opencms-dev] integration with spring security

 

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/b374235f/attachment.htm>


More information about the opencms-dev mailing list