  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Securing Portal Page - please help! | - Securing Portal Page - please help! 2007-08-09 - By nitesh
Back Hi,
I'm trying to secure a portal page so that it requires login with the role "Authenticated" that JBoss Portal 2.6.1 comes with. I've followed the instructions on the JBoss Portal Reference Manual http://docs.jboss.com /jbportal/v2.6/referenceGuide/html/security.html
However, I'm unable to secure access to the portal page. This is what I have done so far:
In my portal-object.xml:
| <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?> | <deployments> | <deployment> | <if-exists>overwrite</if-exists> | <parent-ref>default</parent-ref> | <properties/> | | <page> | <page-name>My Portal</page-name> | <window> | <window-name>MyPortletPageWindow</window-name> | <instance-ref>MyPortletInstance</instance-ref> | <region>center</region> | <height>0</height> | </window> | | <security-constraint> | <policy-permission> | <role-name>Authenticated</role-name> | <action-name>view</action-name> | </policy-permission> | </security-constraint> | </page> | </deployment> | </deployments> |
Can someone please point out what I'm missing or if there is an extra step involved?
Thanks,
Nitesh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072602#4072602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072602 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |