JBoss development,
A new message was posted in the thread "Remote Access to Profile Service":
http://community.jboss.org/message/522757#522757
Author : Emanuel Muckenhuber
Profile :
http://community.jboss.org/people/emuckenhuber
Message:
--------------------------------------------------------------
You would need to enable the server side authentication interceptors: in
deploy/profileservice-jboss-beans.xml
<bean name="ProfileServiceProxyFactory"
class="org.jboss.profileservice.remoting.ProxyFactory">
<!-- Server side security interceptor stack -->
<property name="serverProxyInterceptors">
<list>
<bean
class="org.jboss.aspects.security.AuthenticationInterceptor">
<constructor>
<parameter>
<value-factory bean="JNDIBasedSecurityManagement"
method="getAuthenticationManager"
parameter="jmx-console"/>
</parameter>
</constructor>
</bean>
<bean
class="org.jboss.aspects.security.RoleBasedAuthorizationInterceptor">
<constructor>
<parameter>
<value-factory bean="JNDIBasedSecurityManagement"
method="getAuthenticationManager"
parameter="jmx-console"/>
</parameter>
<parameter>
<value-factory bean="JNDIBasedSecurityManagement"
method="getAuthenticationManager"
parameter="jmx-console"/>
</parameter>
</constructor>
</bean>
</list>
</property>
</bean>
You then still lookup a ProfileService, however calling methods like getViewManager() -
should fail with a java.lang.SecurityException.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522757#522757