security roles in grails portlets
Posted
by srinath
on Stack Overflow
See other posts from Stack Overflow
or by srinath
Published on 2010-03-12T13:25:25Z
Indexed on
2010/03/12
13:27 UTC
Read the original article
Hit count: 336
Hi,
How to include security roles in grails portlets for liferay ?
After deploying war in tomcat i added manually these lines for roles
liferay-portlet.xml :
<role-mapper>
<role-name>administrator</role-name>
<role-link>Administrator</role-link>
</role-mapper>
portlet.xml :
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
But How to add these roles settings in grails app before creating war ?? Please suggest me .
thanks in advance sri..
© Stack Overflow or respective owner