Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 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: 67
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!