• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

configuring login in spring security

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

i am using "http://www.springbyexample.org/examples/simple-spring-security-webapp.html" to learn about spring security.
In it it has defined a link "/loginProcess" the path to process the login function but there isn't any servlet with that name.
the source code of the example worked fine. but when i tried that example by myself in IntelliJ IDE the application could'n detect that path and it gives a 404 error.

Can anyone explain why is it happening. do we have to write our own servlet other than the configuration in the security configuration file.

Thanks in advance

 
farhath farook
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oh ...
i found the mistake...it is basically i have put with the slash(/) and it is getting called from the root rather than the application context
 
reply
    Bookmark Topic Watch Topic
  • New Topic