Search:

Type: Posts; User: TomBlank; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    153

    Multiple login features

    I would like to give the client the possibility to choose to login to my application either using google, facebook or my own implemented user data.

    What I have so far is, I created my own...
  2. Replies
    34
    Views
    1,278

    I would say so. I found it out actually by...

    I would say so. I found it out actually by looking up the issues in Spring Security and came across some bugs in the setup of Spring Security. I also thought, it's all fixed but couldn't resist to...
  3. Replies
    34
    Views
    1,278

    Solved

    I spent 4 days of trying to fix this injection of my Repository in CustomUserDetailsService and at the end, it turned out to be a bug in Spring Security debug namespace!! I don't know why it's...
  4. Replies
    34
    Views
    1,278

    Thanks for your hint! I tried to follow your...

    Thanks for your hint! I tried to follow your advice and looked up the spring reference guide, but I'm stuck. I tried to look again at the log files, but I can't see why it's not working.

    If you...
  5. Replies
    34
    Views
    1,278

    Oh gosh! :( It's driving me nuts... especially...

    Oh gosh! :(

    It's driving me nuts... especially since it was working with the previous version of SpringFramework and SpringSecurity... I can't believe this is so difficult to solve it... It should...
  6. Replies
    34
    Views
    1,278

    Alright, now I attach the whole log of the...

    Alright, now I attach the whole log of the spring.framework level.

    Now, as a zip. ;)

    4861
  7. Replies
    34
    Views
    1,278

    OK, I attached my log files to this message now....

    OK, I attached my log files to this message now.

    4857
    4858
  8. Replies
    34
    Views
    1,278

    OK, Here is the first part of the SpringSecurity:...

    OK, Here is the first part of the SpringSecurity:



    2012-04-16 15:53:55,012 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Creating shared instance of singleton...
  9. Replies
    34
    Views
    1,278

    Oh ok! I didn't dare to post such a long debug...

    Oh ok! I didn't dare to post such a long debug list in here...

    Shall I really post the debug output in here?
  10. Replies
    34
    Views
    1,278

    Well, I changed already my AppConfig.java, so it...

    Well, I changed already my AppConfig.java, so it looks like this now:



    @Configuration
    @EnableWebMvc
    @EnableTransactionManagement
    @EnableScheduling
    @ComponentScan(basePackages =...
  11. Replies
    34
    Views
    1,278

    Oh dear! :( Now you lost me... I turned on the...

    Oh dear! :( Now you lost me...

    I turned on the log level of SpringSecurity to Debug and this is what I'm getting:




    2012-04-16 15:35:59,963 INFO...
  12. Replies
    34
    Views
    1,278

    I'm getting really desparate, although I feel...

    I'm getting really desparate, although I feel like I'm close to fix this issue... :(

    Because I wanted to have as less xml configuration as possible I followed your first suggestion by using the...
  13. Replies
    34
    Views
    1,278

    OK, got it, but why is the Injection inside my...

    OK, got it, but why is the Injection inside my PersonDaoImpl not working? It fails here:



    Session session = sessionFactory.getCurrentSession();


    I can't figure out, what I'm doing wrong. I...
  14. Replies
    34
    Views
    1,278

    But this means, that now I have to setup my...

    But this means, that now I have to setup my sessionFactory inside the xml configuration and not inside my Java config (DataConfig.java), right? I was hoping that the xml configuration is being loaded...
  15. Replies
    34
    Views
    1,278

    Here is my PersonDaoImpl: @Repository...

    Here is my PersonDaoImpl:



    @Repository
    public class PersonDaoImpl implements PersonDAO {

    private Log logger = LogFactory.getLog( getClass() );

    @Autowired
  16. Replies
    34
    Views
    1,278

    Alright, it's (somehow) working now. I'm getting...

    Alright, it's (somehow) working now. I'm getting some test outputs coming from my PersonDaoImpl, but now if I want to look up for the user in the database, of course I'm using the sessionFactory...
  17. Replies
    34
    Views
    1,278

    Hi! I actually found out another post, where...

    Hi!

    I actually found out another post, where somebody has exactly the same problem and maybe I described my problem not in detail enough.

    I realized that you (Marten) replied to it.
    ...
  18. Hi! Well, I want to get a rid of all my xml...

    Hi!

    Well, I want to get a rid of all my xml configuration and use only Java config. The only thing what is left, is this part so instead of defining LocaleChangeInterceptor inside the...
  19. Replies
    2
    Views
    1,060

    Thanks for the hint. It's a pitty that Java...

    Thanks for the hint. It's a pitty that Java config is not supported yet.
  20. LocaleChangeInterceptor in Java Configuration

    Can anyone tell me how to convert this xml configuration into Java Configuration?



    <mvc:interceptors>
    <bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" />
    ...
  21. If you are using Spring 3.1, you can actually do...

    If you are using Spring 3.1, you can actually do it via Annotation.

    This is how I did it:


    // Annotated as Service
    @Service
    public class OverNightGenerator {
    ...
    // Here you can set...
  22. Replies
    2
    Views
    1,060

    Spring Security 3.1 Java Configuration

    I have a configuration xml file of my spring security, but would love to convert my xml configuration to Java, since my other Spring related configuration is in Java too.

    Can anyone give me a hint...
  23. Replies
    34
    Views
    1,278

    Hi Marten, Thanks for your reply. Please, find...

    Hi Marten,

    Thanks for your reply. Please, find attached all related configuration files together with the domain Object. As I said, The only problem is the CustomeUserDetailsService, which fails...
  24. Replies
    34
    Views
    1,278

    Thanks for the hint! I changed it to...

    Thanks for the hint! I changed it to TilesViewResolver.

    Speaking of the DispatcherServlet and ContextLoaderListener. To be honest, I never understood it 100%. If you could take a look on my...
  25. Replies
    34
    Views
    1,278

    Sorry, you are right. I should point out other...

    Sorry, you are right. I should point out other definitions as well.

    I have a another applicationContext.xml file where my

    <context:component-scan base-package="com.company" />
    is already...
Results 1 to 25 of 56
Page 1 of 3 1 2 3