[jboss-user] [JBoss Portal] - Error trying to access resource in CMSAdmin
tufla
do-not-reply at jboss.com
Wed Jul 25 11:03:54 EDT 2007
Hello to all !
I'm working on JbossPortal 2.6.0-CR3
I've uploaded some directories and files to CMS root (siblings of default directory) trough CMS Admin.
I can entry to modify the files into default directory, but, when I try to entry to my directories is generated an exception.
These are the security policies defined into
jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml
| <!-- ACL Security Interceptor -->
| <mbean
| code="org.jboss.portal.cms.impl.interceptors.ACLInterceptor"
| name="portal:service=Interceptor,type=Cms,name=ACL"
| xmbean-dd=""
| xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
| <xmbean/>
| <attribute name="JNDIName">java:/portal/cms/ACLInterceptor</attribute>
| <attribute name="CmsSessionFactory">java:/portal/cms/CMSSessionFactory</attribute>
| <attribute name="IdentitySessionFactory">java:/portal/IdentitySessionFactory</attribute>
| <attribute name="DefaultPolicy">
| <![CDATA[
| <policy>
| <!-- permissions on the root cms node -->
| <criteria name="path" value="/">
| <permission name="cms" action="read">
| <role name="Anonymous"/>
| </permission>
| <permission name="cms" action="write">
| <role name="User"/>
| </permission>
| <permission name="cms" action="manage">
| <role name="Admin"/>
| </permission>
| </criteria>
| <!-- permissions on the default cms node -->
| <criteria name="path" value="/default">
| <permission name="cms" action="read">
| <role name="Anonymous"/>
| </permission>
| <permission name="cms" action="write">
| <role name="User"/>
| </permission>
| <permission name="cms" action="manage">
| <role name="Admin"/>
| </permission>
| </criteria>
| <!-- permissions on the default cms node -->
| <criteria name="path" value="/MY_DIRECTORY">
| <permission name="cms" action="read">
| <role name="Anonymous"/>
| </permission>
| <permission name="cms" action="write">
| <role name="User"/>
| </permission>
| <permission name="cms" action="manage">
| <role name="Admin"/>
| </permission>
| </criteria>
| <!-- permissions on the private/protected node -->
| <criteria name="path" value="/default/private">
| <permission name="cms" action="manage">
| <role name="Admin"/>
| </permission>
| </criteria>
| </policy>
| ]]>
| </attribute>
| <depends optional-attribute-name="AuthorizationManager" proxy-type="attribute">
| portal:service=AuthorizationManager,type=cms
| </depends>
| <depends>portal:service=Hibernate,type=CMS</depends>
| <depends>portal:service=Module,type=IdentityServiceController</depends>
| </mbean>
|
Please help me, I need to solve this asap...
Thanks in advance !
Below is the exception presented:
| An error occured
|
|
| ERROR
| Cause: javax.portlet.PortletException: Access to this resource is denied
| Message: Access to this resource is denied
| StackTrace:
|
| javax.portlet.PortletException: Access to this resource is denied
| at org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet.doView(CMSAdminPortlet.java:176)
| at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:242)
| at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:229)
| at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:366)
| at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
| at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
| at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
| at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
| at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
| ...
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067436#4067436
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067436
More information about the jboss-user
mailing list