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

Commit 6a3bc15

Browse files
committed
Updated a Finer Grain of Control section of the tutorial.
1 parent d877b16 commit 6a3bc15

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/source/tutorial.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,11 @@ Next up: An even finer grain of control using Spring Security permissions.
634634
A Finer Grain of Control
635635
------------------------
636636

637-
The code for this section can be found in `tutorials/spring-boot/04-a-finer-grain-of-control <https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring-boot/04-a-finer-grain-of-control>`_.
637+
#if( $springboot )
638+
The code for this section can be found in `tutorials/spring-boot/04-a-finer-grain-of-control`_.
639+
#elseif( $spring)
640+
The code for this section can be found in `tutorials/spring/04-a-finer-grain-of-control`_.
641+
#end
638642

639643
So far, we've restricted access to certain methods with the `hasAuthority` clause of the `@PreAuthorize` annotation. In this
640644
section, we are going to look at examples that give a finer grain of control and demonstrate how Stormpath hooks into
@@ -894,5 +898,7 @@ for more information on all that the Stormpath Java SDK has to offer.
894898
.. _tutorials/spring/01-some-access-controls: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring/01-some-access-controls
895899
.. _tutorials/spring-boot/02-spring-security-ftw: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring-boot/02-spring-security-ftw
896900
.. _tutorials/spring/02-spring-security-ftw: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring/02-spring-security-ftw
897-
.. _tutorials/spring-boot/03-spring-security-refined: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring-boot/03-spring-security-refined>
898-
.. _tutorials/spring/03-spring-security-refined: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring/03-spring-security-refined>
901+
.. _tutorials/spring-boot/03-spring-security-refined: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring-boot/03-spring-security-refined
902+
.. _tutorials/spring/03-spring-security-refined: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring/03-spring-security-refined
903+
.. _tutorials/spring-boot/04-a-finer-grain-of-control: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring-boot/04-a-finer-grain-of-control
904+
.. _tutorials/spring/04-a-finer-grain-of-control: https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring/04-a-finer-grain-of-control

0 commit comments

Comments
 (0)