[jboss-dev-forums] [Design of Security on JBoss] - Re: ant tests-jacc-security
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Dec 14 21:15:34 EST 2007
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#4113116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113116
More information about the jboss-dev-forums
mailing list