Hello all,
sorry, i sent the previous message and i forgot to add one
additional question...
about beanRefFactory.xml
In the above code fragment, authenticationManager is a helper property
that defines the expected name of the AuthenticationManager in case
you have several defined in the IoC container. The singletonId
property references a bean defined in a beanRefFactory.xml file. This
file needs to be available from anywhere on the JBoss classpath,
including $JBOSS_HOME/server/your_config/conf. The beanRefFactory.xml
contains the following declaration:
<beans>
<bean id="springRealm" singleton="true" lazy-init="true"
class="org.springframework.context.support.ClassPathXmlApplicationContext">
<constructor-arg>
<list>
<value>acegisecurity.xml</value>
</list>
</constructor-arg>
</bean>
</beans>
i have acegi security scattered throughout 3 different files (like in
contact sample application), and in my application i have 5 different
spring configuration files
what should be the value of hte constructor-arg list?
only acegi-related spring files?
what if those acegi-related spring files refers to a bean defined in a
separate spring config file (i am using that datasource also for some
other beans....) ?
thanks in advance and regards
marco
---------- Forwarded message ----------
From: Marco Mistroni <[EMAIL PROTECTED]>
Date: Jul 6, 2005 12:15 PM
Subject: JBoss container adapter
To: [email protected]
hello all,
i plan to use JBoss container adapter for integrating Acegi into my
webapplication, but i have few doubts about how to do that..
i have read acegi documentation and i have a questions:
- am i right in assuming that i have to write a beanRefFactory.xml
file, to place in
$jbosshome/server/yourconfig/conf directory?
thanks in advance and regards
marco
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer