File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF 1.2 + Authentication with Spring Security 3.0.5
 
Similar Threads
AccessDeniedExceptionHandler handle method never called
RichFaces + Spring Security -- Problem Load RichFaces
No AuthenticationEntryPoint could be established
RequestDispatcher null - cant find /j_spring_security_check
[Spring Security] No bean named 'springSecurityFilterChain' is defined