Hi Randy,

Thanks for your answer.
I'm using 2.0 release... So, I have look into bug database and you were right. I have found the related issue: http://issues.apache.org/jira/browse/JS2-354
Should be fix in 2.1

Thanks,
Sebastien.

Randy Watler a écrit :
Sebastien,

I do not see a problem with this at first glance.

What version of J2 are you using? I believe this is fixed in the 2.0.1
branch and in the 2.1-dev trunk. If you are using the base 2.0 release,
there may be some issues with this support.

Randy

On Sat, 2006-03-18 at 22:39 +0100, Sébastien Pérochon wrote:
  Hi,

I would like to set security constraint just for a portlet. So I set security constraint in the portlet fragment as told in the manual... But it doesn't work => The portlet is always displayed... If I move the security constraint to the page scope, it is working well (for the page of course)...
What's wrong ?

<fragment id="cpwd-2" type="portlet" name="j2-admin::ChangePasswordPortlet">
      <property layout="TwoColumns" name="row" value="0" />
      <property layout="TwoColumns" name="column" value="1" />
      <security-constraints>
    <security-constraints-ref>admin</security-constraints-ref>
      </security-constraints>
    </fragment>

Thanks,
Sebastien.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to