[jboss-dev-forums] [Design of Security on JBoss] - Re: Security Injection in AS5

scott.stark@jboss.org do-not-reply at jboss.com
Mon Apr 7 19:21:46 EDT 2008


You will have to specify that jar and related in the deployment classpath:


  | 
  |    <classloader><inject bean="JBossSXClassLoader"/></classloader>
  | 
  |    <bean name="JBossSXClassLoader" class="org.jboss.system.NoAnnotationURLClassLoader">
  |       <classloader><null/></classloader>
  |       <constructor factoryClass="org.jboss.system.NoAnnotationURLClassLoader" factoryMethod="createClassLoader">
  |         <parameter>
  |            <array elementClass="java.net.URL">
  |               <!-- Deployers -->
  |               <value>${jboss.server.lib.url}/jbosssx.jar</value>
  |            </array>
  |         </parameter>
  |       </constructor>
  |    </bean>
  | ...
  | 

This is a brute force configuration. There should be a way to specify the class loader system that includes all the server libs as well as just naming the packages you want to import. We need to get that syntax documented.


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

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



More information about the jboss-dev-forums mailing list