Login Module with Spring Security

0
Well, I'm studying Spring Framework and all the other frameworks that it makes available, and I would love to implement a login module.

I'm currently using Spring without any use of XML except pom.xml , and many of the sites I accessed had XML examples.

  • Is there a lot of difference between Spring Security implemented with XML or JAVA?
  • Do any of them have any advantages or disadvantages? From what I saw the XML ends up getting too long and hard to maintain over time.
  • Would you have any beginner tutorials that worked with java code?
  • Thank you all!

        
    asked by anonymous 09.12.2016 / 23:07

    1 answer

    0
  • Is there a lot of difference between Spring Security implemented with XML or JAVA?
  • You can create a project with both XML as well as using Java.
  • Do any of them have any advantages or disadvantages? From what I saw the XML ends up getting too long and hard to maintain over time.
  • One advantage of Java Configuration is that it has a syntax error. In the XML configuration, you will only discover the error when executing the project.
  • Would you have any beginner tutorials that worked with java code?
  • I recommend giving a search in some repositories of github or bitbucket, follow a link from a project of my college:
    Example (To run the application, you need to have the postgreSQL database installed in addition to creating a database with the stockcar name)
    Try also, look for some tutorial in English, always have more content to study.
    19.12.2016 / 12:48