You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: docs/source/tutorial.rst
+36-7Lines changed: 36 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,7 +259,11 @@ In the next section, we will talk about having access controls the "right" way b
259
259
The purpose of this section is to demonstrate the manual labor required in "rolling your own" permissions assertion layer.
260
260
Feel free to skip right over to the :ref:`spring-security-meet-stormpath` section.
261
261
262
-
The code for this section can be found in `tutorials/spring-boot/01-some-access-controls <https://github.com/stormpath/stormpath-sdk-java/tree/master/tutorials/spring-boot/01-some-access-controls>`_.
262
+
#if( $springboot )
263
+
The code for this section can be found in `tutorials/spring-boot/01-some-access-controls`_.
264
+
#elseif( $spring )
265
+
The code for this section can be found in `tutorials/spring/01-some-access-controls`_.
266
+
#end
263
267
264
268
Let's say there's a restricted page that you only want authenticated users to have access to. We can determine that someone
265
269
is logged in simply by obtaining an ``Account`` object. If it's ``null``, the user is not logged in. If it resolves to an
@@ -269,35 +273,51 @@ Let's take a look at the updated ``HelloController.java`` file:
0 commit comments