[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 22:17:24 EST 2007


I added a policy property to the SecurityService so that the jacc-beans.xml just becomes:


  | <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="policy"><inject bean="JaccPolicyProvider" property="policyProxy"/></property>
  |     </bean>
  | </deployment>
  | 
with this the tests are passing without any dependency from the ejb3 deployer.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113117#4113117

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113117



More information about the jboss-dev-forums mailing list