Issue Details (XML | Word | Printable)

Key: JS2-228
Type: Task Task
Status: Closed Closed
Resolution: Invalid
Priority: Major Major
Assignee: Unassigned
Reporter: Bhaskar Roy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed 2

Not able to put Role based security to a Portlet

Created: 04/Apr/05 07:14 PM   Updated: 09/Apr/05 09:25 PM
Return to search
Component/s: Demo Portlets
Affects Version/s: 2.0-M1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Win 2000, tomcat 5.0.30

Resolution Date: 09/Apr/05 09:25 PM


 Description  « Hide
Added HelloWorld Portlet to default page, now trying to put role based security so when user logs in then can see the portlet not before that, tried all possible combinations but didn't work.

Everytime go to /jetspeed Hello portlet shows, want to show after user logs in, please help on that, email taptamus@yahoo.com

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ate Douma added a comment - 09/Apr/05 09:25 PM
This has come up before and is not a valid requirement.
The Portlet Specification only requires that Role security can be used *within* a Portlet to decide which features to enable or not (using request.isUserInRole(roleName)).
For the portal, there are no requirements specified and Jetspeed-2 currently implements none...

But, you can use role security in the PSML definition on page and/or folder level, see:
  http://portals.apache.org/jetspeed-2/bronco.html

As you ask for role security on Portlet (Entity) level though, this won't solve your requirement either.
AFAIK, there were plans to implement PSML security on Portlet Entity level too, but so far this hasn't
been implemented. If you would like to see that, please create a new Feature Issue in JIRA for it.

Ate Douma made changes - 09/Apr/05 09:25 PM
Field Original Value New Value
Resolution Invalid [ 6 ]
Status Open [ 1 ] Closed [ 6 ]