Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

spring security skip showing login page  RSS feed

 
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
?
 
Ranch Hand
Posts: 86
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!