You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Mansour (JIRA)" <je...@portals.apache.org> on 2007/10/20 18:32:50 UTC

[jira] Created: (JS2-791) configure the security constraint on a particular portlet fragment.

configure the security constraint on a particular portlet fragment.
-------------------------------------------------------------------

                 Key: JS2-791
                 URL: https://issues.apache.org/jira/browse/JS2-791
             Project: Jetspeed 2
          Issue Type: New Feature
          Components: Admin Portlets
    Affects Versions: 2.1.2
            Reporter: Mansour
             Fix For: 2.1.3, 2.2


The security constraint on a particular portlet fragment has to be set using PSML Only. It's possible "now" to set it for a specific page and not the whole portlet. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-791) configure the security constraint on a particular portlet fragment.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542011 ] 

Woonsan Ko commented on JS2-791:
--------------------------------

Here's a guide for using config mode.

1. Basic functionality

Only users having admin rights (based on constraints/permissions) can use config mode, and
 the security constraints of a portlet fragment could be updated with this mode.
To enable this feature, the portlet decoration properties should have
 'actions.factory=org.apache.jetspeed.decoration.CustomDecoratorActionsFactory'. See
 /decorations/portlet/tigris/decorator.properties.

2. Automatic dispatching to config mode

Jetspeed provides automatic dispatching to a built-in portlet when the current portlet mode is config.

To enable this option:

 a) Set the following property to true in /WEB-INF/conf/jetspeed.properties:

     supported.portletmode.autoswitch.config=true

 b) Each portlet application should have custom portlet mode mapping declaration like the following (in portlet.xml):

    <custom-portlet-mode>
      <description>a Custom Config Mode</description>
      <portlet-mode>config</portlet-mode>
    </custom-portlet-mode>

3. Customizing the built-in portlet for config mode

  To customize the built-in portlet for config mode, you should modify the j2-admin::CustomConfigModePortlet. Or you can add a new portlet based on the built-in portlet. You can set the portlet name for the config mode by setting the following portlet in /WEB-INF/conf/jetspeed.properties:

  # auto-switching surrogate portlet for config mode
  supported.portletmode.autoswitch.config.surrogate.portlet = j2-admin::CustomConfigModePortlet

> configure the security constraint on a particular portlet fragment.
> -------------------------------------------------------------------
>
>                 Key: JS2-791
>                 URL: https://issues.apache.org/jira/browse/JS2-791
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Admin Portlets
>    Affects Versions: 2.1.2
>            Reporter: Mansour
>            Assignee: Woonsan Ko
>             Fix For: 2.1.3, 2.2
>
>
> The security constraint on a particular portlet fragment has to be set using PSML Only. It's possible "now" to set it for a specific page and not the whole portlet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-791) configure the security constraint on a particular portlet fragment.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538710 ] 

Woonsan Ko commented on JS2-791:
--------------------------------

I'd like to implement 'config' custom mode for configuring security constraint on portlet fragment.

> configure the security constraint on a particular portlet fragment.
> -------------------------------------------------------------------
>
>                 Key: JS2-791
>                 URL: https://issues.apache.org/jira/browse/JS2-791
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Admin Portlets
>    Affects Versions: 2.1.2
>            Reporter: Mansour
>            Assignee: Woonsan Ko
>             Fix For: 2.1.3, 2.2
>
>
> The security constraint on a particular portlet fragment has to be set using PSML Only. It's possible "now" to set it for a specific page and not the whole portlet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-791) configure the security constraint on a particular portlet fragment.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko resolved JS2-791.
----------------------------

    Resolution: Fixed

Implemented custom config mode to set security constraints for portlet fragments.
Thanks to David for fixing the build problems which were side effects of my commits.

> configure the security constraint on a particular portlet fragment.
> -------------------------------------------------------------------
>
>                 Key: JS2-791
>                 URL: https://issues.apache.org/jira/browse/JS2-791
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Admin Portlets
>    Affects Versions: 2.1.2
>            Reporter: Mansour
>            Assignee: Woonsan Ko
>             Fix For: 2.1.3, 2.2
>
>
> The security constraint on a particular portlet fragment has to be set using PSML Only. It's possible "now" to set it for a specific page and not the whole portlet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-791) configure the security constraint on a particular portlet fragment.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko reassigned JS2-791:
------------------------------

    Assignee: Woonsan Ko

> configure the security constraint on a particular portlet fragment.
> -------------------------------------------------------------------
>
>                 Key: JS2-791
>                 URL: https://issues.apache.org/jira/browse/JS2-791
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Admin Portlets
>    Affects Versions: 2.1.2
>            Reporter: Mansour
>            Assignee: Woonsan Ko
>             Fix For: 2.1.3, 2.2
>
>
> The security constraint on a particular portlet fragment has to be set using PSML Only. It's possible "now" to set it for a specific page and not the whole portlet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-791) configure the security constraint on a particular portlet fragment using new custom config portlet mode

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated JS2-791:
--------------------------

    Summary: configure the security constraint on a particular portlet fragment using new custom config portlet mode  (was: configure the security constraint on a particular portlet fragment.)

Updated the subject to better describe the way the new feature was implemented (adding custom config mode)

> configure the security constraint on a particular portlet fragment using new custom config portlet mode
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-791
>                 URL: https://issues.apache.org/jira/browse/JS2-791
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Admin Portlets
>    Affects Versions: 2.1.2
>            Reporter: Mansour
>            Assignee: Woonsan Ko
>             Fix For: 2.1.3, 2.2
>
>
> The security constraint on a particular portlet fragment has to be set using PSML Only. It's possible "now" to set it for a specific page and not the whole portlet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org