We need to convert the jacc services to beans so that the DelegatingPolicy.instance can be
retrieved as the JaccPolicyProvider bean using a factory:
| <deployment xmlns="urn:jboss:bean-deployer:2.0">
| <bean name="JaccPolicyProvider"
| class="org.jboss.security.jacc.DelegatingPolicy">
| <constructor factoryMethod="getInstance"
| factoryClass="org.jboss.security.jacc.DelegatingPolicy"/>
| </bean>
|
| <bean class="org.jboss.security.jacc.SecurityService"
| name="JaccSecurityService">
| <property name="mbeanServer"><inject
bean="JMXKernel" property="mbeanServer"/></property>
| <property name="policy"><inject
bean="JaccPolicyProvider" property="policy"/></property>
| </bean>
| </deployment>
|
The SecurityService needs to be pojoized to support this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113116#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...