aspose file tools*
The moose likes Portals and Portlets and the fly likes [Liferay] Protect portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "[Liferay] Protect portlet" Watch "[Liferay] Protect portlet" New topic
Author

[Liferay] Protect portlet

Phuc Bui
Greenhorn

Joined: Feb 19, 2009
Posts: 26
Hi,
I want to protect my portlet like this

Just user having required role can access my portlet.

So, how can I do that ???
I have tried in portlet-ext.xml (develop in Liferay EXT)



in liferay-portlet-ext



But it does not work

Help me please

Phuc Bui
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: [Liferay] Protect portlet