portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-791) configure the security constraint on a particular portlet fragment.
Date Tue, 13 Nov 2007 01:17:50 GMT

    [ 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


Mime
View raw message