Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit 0d2a9f3

Browse files
committed
Updated to indicate there's no longer a requirement for a WebSecurityConfigurerAdapter with spring boot and spring security
1 parent 63c693c commit 0d2a9f3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/source/tutorial.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,14 @@ As you can see from the examples above, Stormpath provides powerful oauth2 Token
899899
``/oauth/token`` endpoint. There is no additional coding required on your part to make use of the Token Management
900900
feature.
901901

902+
#if( $springboot )
903+
You may notice that there is no class in this part of the tutorial that extends ``WebSecurityConfigurerAdapter``.
904+
In this particular case, *all* user-defined paths are locked down. This is the default for Spring Security and the
905+
Stormpath Spring Security integration follows suit.
906+
907+
If you fire up the tutorial app and browse to the home page: http://localhost:8080/, you will be redirected to `/login`.
908+
#end
909+
902910
.. _wrapping-up:
903911

904912
Wrapping Up

tutorials/spring/01-some-access-controls/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
#
2020
#stormpath.application.href = https://api.stormpath.com/v1/applications/YOUR_APPLICATION_ID_HERE
2121

22-
stormpath.spring.security.enabled = false
22+
security.basic.enabled = false

0 commit comments

Comments
 (0)