I think so, too. It must be better to allow it configured in 
portlet-application level or in global configuration (jet speed.properties) as 
defaults as well.

Woonsan

----- Original Message -----
> From: David S Taylor <[email protected]>
> To: Jetspeed Users List <[email protected]>
> Cc: 
> Sent: Monday, July 16, 2012 8:44 AM
> Subject: Re: Page security on ui pipeline
> 
>G reat. It seems like a pain to have to set this for each and every portlet. 
> Seems more like a portal  general feature. Guess I just don't follow the 
> intention of the developer
> 
> On Jul 16, 2012, at 1:33 AM, Frank Otto <[email protected]> wrote:
> 
>>  It works. Thanks!
>> 
>>  Am 16.07.2012 05:14, schrieb David Sean Taylor:
>>>  I was going to say "nothing changed". But I reviewed the 
> 2.2.2 release notes and found this improvement:
>>> 
>>>  https://issues.apache.org/jira/browse/JS2-1262
>>> 
>>>  You can try this (from the JIRA issue):
>>> 
>>>  "By adding a<js:metadata 
> name="render-time.security-constraints">true</js:metadata>  
> tag to a portlet configuration in jetspeed-portlet.xml, the security 
> constraints 
> for that portlet will be enforced at render time."
>>> 
>>> 
>>>  On Jul 11, 2012, at 2:56 AM, Frank Otto wrote:
>>> 
>>>>  Hi,
>>>> 
>>>>  is it possible, that the security constraint wasn't checked in 
> the ui pipeline on added portlets?
>>>> 
>>>> 
>>>>  I have defined a security contraint in page.security file:
>>>> 
>>>>  <security-constraints-def name="MY_CONSTRAINT">
>>>>  <security-constraint>
>>>>  <roles>MY_ROLE</roles>
>>>>  <permissions>view,edit</permissions>
>>>>  </security-constraint>
>>>>  </security-constraints-def>
>>>> 
>>>>  The jetspeed-portlet.xml looks like this:
>>>> 
>>>>  <portlet>
>>>>  <portlet-name>MyPortlet</portlet-name>
>>>> 
> <js:security-constraint-ref>MY_CONSTRAINT</js:security-constraint-ref>
>>>>  </portlet>
>>>> 
>>>>  If I remove the Role from my user, the portlet will not be shown in 
> the toolbox, but it's always accessable on the already added portlet.
>>>> 
>>>>  In Jetspeed 2.2.0 was checked this and the message "you have 
> no permission for the portlet" was shown in the portlet.
>>>> 
>>>> 
>>>>  kind regards,
>>>> 
>>>>  Frank
>>>> 
>>>> 
>>>> 
> ---------------------------------------------------------------------
>>>>  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]
>>> 
>> 
>> 
>>  ---------------------------------------------------------------------
>>  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]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to