I have just found sollution!
I injected PortalAuthorizationManagerFactory service into my navigation portlet in
jboss-portlet.xml like following:
<service-name>AMF</service-name>
<service-class>org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory</service-class>
<service-ref>:service=PortalAuthorizationManagerFactory</service-ref>
and then get the service from portlet context attribute with name "AMF"
This seems to be the most proper way to access jboss portal services and works fine with
no exceptions now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000420#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...