Btw, another way to go would be not using Spring Security to do this. Just use a custom private-key encryption for the password and then perform the ldap authentication in a spring mvc controller....
Type: Posts; User: James Equalizer; Keyword(s):
Btw, another way to go would be not using Spring Security to do this. Just use a custom private-key encryption for the password and then perform the ldap authentication in a spring mvc controller....
Hello,
I have developed a Spring MVC application with SSO built with Spring Security 3. On a page, the already logged-in user (by SSO) must ask another user to come by and enter his user name and...
Thanks for you reply Marten, I was in fact just looking for best practices with spa architecture using Spring Security. Handling the credentials in the cookie seems indeed the best way here.
Hi,
I am currently working on a project that uses Spring 3 REST services on the backend and a single-page-application architecture on the front-end based on the Javascript MVC framework.
Now I...
Sorry, I meant to say 'Integration unit tests', this is it. But thanks for the tip anyhow.
Best,
-J
Thanks for your reply Enrico. Actually this impl was used in a unit test but thanks for your explanation anyhow!
-J
Hello,
In my application context root file I have this config:
<bean id="myDataSource"
class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName">
Thanks for this suggestion. However will it also work if BaseBean is an interface?
Thanks,
-J
Hello,
I have three @Bean factory methods creating three bean objects:
@Bean(name="myBean1")
private void createBean1() {
new Bean1();
}
@Bean(name="myBean2")
private void createBean2() {
Hello,
I've deployed a distributed spring-architectured application based on EJB 2.0 remote stateless beans - spring injected too - and spring daos lately on a remote Weblogic 8 application...
Hello Jim,
Thanks for your prompt reply. I've checked out your links and read about this soon-to-be-released patch which seems to be the key as I'm experiencing performance problems with sax...
Hello,
I am trying to find a way to send a SOAP response with Axiom but with the use of Stax instead of a SAX. Axiom uses a SAXResult object to send the response back but I definitely need STAX...
Hello,
I am experiencing real slowliness during a BeanFactory instantiation using spring.
Here's the method that's instantiating the BeanFactory:
public Service getService(){
if(service...
Thanks. I've found this method in the API:
JdbcTemplate.query(PreparedStatementCreator psc, RowCallbackHandler rch)
If I understand well I'll have to first set up my prepared statement...
Is it possible to map and retrieve a list of beans in one single select with Spring JDBC? Here is the resulting class that I would like populated:
public class MyClass{
long classId;
...
Well actually the root context where lies the alias is the main context used by the spring web services MessageDispatcherServlet defined in web.xml. That's why I am bit stuck in terms of hacking...
How about no parent/child relationship context in my case, like some kind of helper context where beans declaration could be shared throughout all the hierarchy?
Thanks,
James
Thanks. I have tried to use an alias but thing is the bean I am trying to reach is in a child context therefore the aliasing does not work. I'm looking now for a way to look into beans of child...
Hello all,
I know this may sound like a stupid question but for some organizational reason I am trying to reference a bean from a bean (instead of a class) as follows (ps: the beanRef attribute...
Actually I think I misunderstood the purpose of injecting multiple WebServiceMessageSenders. As I understand from the source code, if one sender does not support the injected uri, it will check the...
Yes, thank you actually the 1.02 was still in use. After a thorough cleaning and rebuilding of the entire project, no more NPE.
-J
Hello,
I have built a spring web services client java class with 6 operations each having their own WebServiceMessageSender implementing CommonsHttpMessageSender and set up differently (with...
I am getting a NullPointerException using an XSL interceptor with the Axiom messageFactory with the payloadCaching set to false. I've just migrated to Spring-WS 1.0.3 and the server I'm on is...
This problem is now solved after upgrading the jars from Spring Web Services 1.0.2 to v1.0.3. According to the 'what's new' list , I believe this must be linked to the following change: * [SWS-230] -...
Errr.... actually gzip is supported and works well on the client-side using the Saaj messageFactory but going a lil' further with the Axiom messageFactory along with the gzip servlet filter, here's...