<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 13.05.2010 15:14, Valerio Synclab wrote:
<blockquote
cite="mid:000f01caf29e$42009750$c601c5f0$@vianello@synclab.it"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hi list,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am developing a web site
with opencms which
should have some restricted pages (only logged users can see these
pages).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now I put the “restricted
pages”
into the offline project so only the users do the log-in can see these
pages,
but<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">but I haven’t found any
documentation
about the integration of spring-security with opencms.</span></p>
</div>
</blockquote>
Keeping the pages in the offline project is not the best solution.
Instead, you should<br>
<ul>
<li>create a user group of users that are not allowed to log in into
the workplace</li>
<li>change the permissions of your files so that they are only
readable by users from this user group and by workplace users</li>
<li>all users that have access to your restricted sections should be
users in that user group<br>
</li>
</ul>
<br>
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.<br>
<br>
<blockquote
cite="mid:000f01caf29e$42009750$c601c5f0$@vianello@synclab.it"
type="cite">
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is this integration possible?</span></p>
</div>
</blockquote>
Definitely possible<br>
<blockquote
cite="mid:000f01caf29e$42009750$c601c5f0$@vianello@synclab.it"
type="cite">
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US"> Do you know
any tutorial? </span></p>
</div>
</blockquote>
Take a look at opencmswiki.org - you might find something there<br>
<br>
<br>
Kind regards<br>
Christian<br>
<blockquote
cite="mid:000f01caf29e$42009750$c601c5f0$@vianello@synclab.it"
type="cite">
<pre wrap="">
_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
</body>
</html>