views:

23

answers:

0

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..