Integrando JSF 2 ESpring Security<br />Marcos Berwanger<br />marcos.bw@gmail.com<br />
AMBIENTE<br />NetBeans 6.8<br />Java EE 6<br />JSF 2.0<br />Spring Framework 3.0.0<br />Spring Security 2.0.5<br />
Jar<br />
Web.xml – Spring framework<br />
Web.xml – spring security<br />
Páginas web/Web-inf<br />
Spring-servlet.xml<br />
Applicationcontext.xml<br />
applicationContext-security.xml<br />Roles sem o prefixo “ROLE_”<br />
applicationContext-security.xml<br />Roles sem o prefixo “ROLE_”<br />
applicationContext-security.xml<br />
Faces-config.xml<br />
JavaCode<br />
LoginController.java<br />Controller para o Spring Framework<br />
LoginPhaseListener.java<br />
UserDetails.java<br />
UserRepository.java<br />
Index.xhtml<br />
UserManaged.java<br />
Obrigado!<br />Marcos Berwanger<br />marcos.bw@gmail.com<br />
Upcoming SlideShare
Loading in …5
×

Integrando Jsf 2 E Spring Security

8,968 views

Published on

Demonstração rápida de como integrar o JSF 2.0 (Java EE 6) com o Spring Security
Maiores informações e um demo sobre a integração vc encontra em: http://berwanger.me

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
8,968
On SlideShare
0
From Embeds
0
Number of Embeds
718
Actions
Shares
0
Downloads
269
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Integrando Jsf 2 E Spring Security

  1. 1. Integrando JSF 2 ESpring Security<br />Marcos Berwanger<br />marcos.bw@gmail.com<br />
  2. 2. AMBIENTE<br />NetBeans 6.8<br />Java EE 6<br />JSF 2.0<br />Spring Framework 3.0.0<br />Spring Security 2.0.5<br />
  3. 3. Jar<br />
  4. 4. Web.xml – Spring framework<br />
  5. 5. Web.xml – spring security<br />
  6. 6. Páginas web/Web-inf<br />
  7. 7. Spring-servlet.xml<br />
  8. 8. Applicationcontext.xml<br />
  9. 9. applicationContext-security.xml<br />Roles sem o prefixo “ROLE_”<br />
  10. 10. applicationContext-security.xml<br />Roles sem o prefixo “ROLE_”<br />
  11. 11. applicationContext-security.xml<br />
  12. 12. Faces-config.xml<br />
  13. 13. JavaCode<br />
  14. 14. LoginController.java<br />Controller para o Spring Framework<br />
  15. 15. LoginPhaseListener.java<br />
  16. 16. UserDetails.java<br />
  17. 17. UserRepository.java<br />
  18. 18. Index.xhtml<br />
  19. 19. UserManaged.java<br />
  20. 20. Obrigado!<br />Marcos Berwanger<br />marcos.bw@gmail.com<br />

×