Saturday, February 7, 2015

How to ignore Spring Security login for a test or local environment in Spring Boot

To ignore Spring Security login for a test or local environment in Spring Boot,

you can add the following property

to your application-test.properties or application-local.properties:

security.ignored=/**

Reference:
http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

No comments:

Post a Comment