i have seen applications of spring where along with other functionalites. even login authentication is also kept as spring service.but what i didn't understand is that why to keep it as rest service.I mean what is the advantage which we get by keeping login as rest service?what would the GET request xml of login webservice show?
Monica. Shiralkar wrote:thanks.
ok.so what info would the GET method of this app or yours display as xml.?there lies my confusion
Which GET? The login? I don't have any GET for login, just POST for when the user enters their credentials. And for that I use Spring Security. For REST login, I do have to do some things manually in Spring Security, but that is like 4-5 lines of code. But to get a single page app, I am willing to write those few lines.