Hi
I'm using ACEGI 1.0.5. I need to create an AuthenticationProvider that automatically authenticates the user without goint to a login page. How do I create my AuthenticationProvider to do this...
Type: Posts; User: nestorjb; Keyword(s):
Hi
I'm using ACEGI 1.0.5. I need to create an AuthenticationProvider that automatically authenticates the user without goint to a login page. How do I create my AuthenticationProvider to do this...
Hi
I have two ears each with a beanRefContext.xml file. My client app support team requires that only one spring.jar loaded in a global library directory, and is not negotiable. When I install the...
Thanks a lot
I just wanted to be sure I was on the right track!
Hi
I have two projects A and B where I need each to have their own Spring context (Due to arquitectual reasons that I can't dismiss). I put a beanRefContext.xml on each project and use...
Hi
I'm trying to use ContextSingletonBeanFactoryLocator inside a Web Application. I created my beanRefContext.xml. Now my problem is with the web.xml configuration.
If I configure it like this:...
Hi
I'm developing a JAR library and I'm using spring and the ClassPathXmlApplicationContext context. Because many classes uses the context and I only need to instantiate it once I've created a...
Hi
I'm very new to ACEGI and I need to create an SSO enviroment between multiple WAR running on different App Servers. What is the simplest, out-of-the-box SSO solution that I can implement with...
Thanks for the Info
Hi
I'm working on a project that involves Hibernate + Jasypt + Spring. Because I'm using Jasypt I need to specify in the applicationContext.xml file some encryption keys. Is there a way to define...
Is there a way to configure Quartz in Spring to use JobStoreTX instead of JobStoreCMT. I understand that SchedulerFactoryBean sets his own JobStoreCMT class but we are having a lot of problems using...
Hi
I'm getting ORA-01002: fetch out of sequence using Spring, Quartz with an Oracle Database.
Our configuration is the following:
<bean id="ppcJobTrigger"...
Hi
I need to create a bean that is a primitive array. Something like <list> but instead of generating java.util.List, generate <Type> []. Is this possible with Spring?
Sorry
Now I understand. I set the singleton property in the spring.xml.
Thanks for the quick response.
But the idea is that the singleton property be configured in the spring.xml file, not in the code. In some situations I want it to be singleton, in others prototype....
Hi
I'm creating a FactoryBean class based on AbstractFactoryBean and I want spring to create an instance each time I lookup the bean. If I put singleton="false" I get:
...
Hi
How can I use Java Enumerations like Boolean.TRUE, Boolean.FALSE, Color.black, Color.white in Spring?
Hi
I'm creating Struts + Spring application.
I'm using the DelegatingRequestProcessor class to load my action classes using spring. Now the DelegatingRequestProcessor requires the...
Hi
I have a couple of Jobs that I need to initialize when the Application Server starts up. Now the problem is that the Jobs won't start until the spring.xml file is loaded. How can I make this...
Hi
I'm creating Struts + Spring application.
I'm using the DelegatingRequestProcessor class to load my action classes using spring. Now the DelegatingRequestProcessor requires the...
But I need org.springframework.web.struts.ContextLoaderPlugIn so that my action classes are loaded using IOC. I don't want to have 2 spring contexts just one. How can I use the ContextLoaderListener...
Hi
I'm using Spring and Struts integration using the org.springframework.web.struts.ContextLoaderPlugIn plugin for Struts. Now I have other web componets like servlets and filters. If I try to get...
Hi
I'm using Struts as my MVC implementation. I'm creating some servlets and I would like to apply IOC to my servlets. Is there a way to use the spring file configured for struts to do IOC on the...
Hi
I'm trying to get a bean from the web application context from a listener class but I get the problem that the application blocks after the getBean method. Has anyone had this same problem?
Hi
When creating libraries where you have a couple of classes that are created and references in the spring context where should I put the spring context. Should I create a singleton context so...
Hi
I'm a bit confused with the Struts and Spring configuration. I read that I only have to configure the Struts PlugIn:
<plug-in...