aspose file tools
The moose likes JSF and the fly likes JSF 1.2 + Authentication with Spring Security 3.0.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF 1.2 + Authentication with Spring Security 3.0.5" Watch "JSF 1.2 + Authentication with Spring Security 3.0.5" New topic
Author

JSF 1.2 + Authentication with Spring Security 3.0.5

Federico Senes
Greenhorn

Joined: May 13, 2011
Posts: 1

First of all, sorry for my bad english (a mysterious language for me ... w google translate!!! )

I'm doing a web application with the framework in subject (more iBatis for management of persistence in db) and the problem is that......despite a successful implementation of the form Spring Security, the authentication doesn't work

For the accuracy.....after Login, don't enter in the method loadUserByUsername!!!
I tried debugging with Eclipse but...nothing.....

Here's some code:

web.xml


applicationContext-security.xml


CustomUserService.java

- my Users implements UserDetails
- I don't use default tables for users e roles but I have custom tables
- page of login is by manual of Spring Security

If you need any more information or code, just ask!
Thank you!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF 1.2 + Authentication with Spring Security 3.0.5