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

Commit d45aa44

Browse files
author
Mario
committed
1217 - Update quickstart to explain how to disable spring security and stormpath
1 parent 080ef43 commit d45aa44

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

docs/source/quickstart.rst

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ By default, all paths are locked down with Spring Security. Stormpath's Spring S
159159
Disabling Spring Security
160160
"""""""""""""""""""""""""
161161

162-
If you do not want to use our Spring Security integration, set the following two config properties:
162+
If you do not want to use our Spring Security integration, set the following config property:
163163

164164
.. code-block:: yaml
165165
@@ -169,10 +169,18 @@ If you do not want to use our Spring Security integration, set the following two
169169
security:
170170
enabled: false
171171
172-
# disable Spring Security entirely:
173-
security:
174-
basic:
175-
enabled: false
172+
.. note::
173+
174+
Alternatively you can disable Spring Security for good by having the following property in your configuration file:
175+
176+
.. code-block:: yaml
177+
178+
# disable Spring Security altogether:
179+
security:
180+
basic:
181+
enabled: false
182+
183+
This will disable Spring Security along with the Stormpath Spring Security integration.
176184

177185
#end
178186

@@ -232,6 +240,13 @@ Any Problems?
232240

233241
Did you experience any problems with this quickstart? It might not have worked perfectly for you if:
234242

243+
* There might be some cases in which you want to completely turn Stormpath off. For example, if you do not have an ApiKey in
244+
your machine then Stormpath will simply not boot. In those scenarios you can add the following property in the configuration file:
245+
246+
.. code-block:: properties
247+
248+
stormpath.enabled = false
249+
235250
#if( $servlet )
236251

237252
* you have more than one Application registered with Stormpath. If this is the case, you'll need to configure your

0 commit comments

Comments
 (0)