Search:

Type: Posts; User: James Equalizer; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Btw, another way to go would be not using Spring...

    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....
  2. Login for another user inside application when main user already logged on

    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...
  3. Thanks

    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.
  4. Using Spring Security with single page application

    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...
  5. Sorry, I meant to say 'Integration unit tests',...

    Sorry, I meant to say 'Integration unit tests', this is it. But thanks for the tip anyhow.

    Best,
    -J
  6. Thanks for your reply Enrico. Actually this impl...

    Thanks for your reply Enrico. Actually this impl was used in a unit test but thanks for your explanation anyhow!

    -J
  7. How to acces a JndiObjectFactoryBean object through @Autowired?

    Hello,

    In my application context root file I have this config:




    <bean id="myDataSource"
    class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName">
  8. Thanks for this suggestion. However will it also...

    Thanks for this suggestion. However will it also work if BaseBean is an interface?

    Thanks,
    -J
  9. Trying to inject multiple @Bean through varargs setter using annotations

    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() {
  10. NoClassDefFoundError at times on org.springframework.dao.DataAccessException

    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...
  11. Hello Jim, Thanks for your prompt reply. I've...

    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...
  12. Axiom uses SAX for response, not STAX. Any workaround to this?

    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...
  13. Replies
    1
    Views
    1,069

    Slow spring context instantiation

    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...
  14. Thanks. I've found this method in the API: ...

    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...
  15. single one-to-many join fetch possible with Spring JDBC?

    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;
    ...
  16. Replies
    6
    Views
    1,071

    Well actually the root context where lies the...

    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...
  17. Replies
    6
    Views
    1,071

    How about no parent/child relationship context in...

    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
  18. Replies
    6
    Views
    1,071

    Thanks. I have tried to use an alias but thing is...

    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...
  19. Replies
    6
    Views
    1,071

    How to reference a bean from a bean?

    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...
  20. Actually I think I misunderstood the purpose of...

    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...
  21. Yes, thank you actually the 1.02 was still in...

    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
  22. Spring-WS Client : WebServiceMessageSender objects disappear when response returned

    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...
  23. NPE using XSL interceptor with Axiom on Spring-WS 1.0.3

    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...
  24. This problem is now solved after upgrading the...

    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] -...
  25. Problem with Axiom messageFactory, gzip servlet filter and jibx marshalling

    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...
Results 1 to 25 of 33
Page 1 of 2 1 2