Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

spring security skip showing login page  RSS feed

 
Radhakrishna Kasiraju
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use csrf prevention in spring application. For that I am using spring security 3.2. But I dont want see login page. So how can I skip it? Is it possible to access my application without login page or can hardcode username and password to trigger automatically and processed to see web pages
?
 
Atul More
Ranch Hand
Posts: 43
1
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use security none for the pages for which you dont want to add security.
Or use isAuthAnnomously .. might help you
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!