shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdem...@apache.org
Subject shiro-site git commit: Fixed line wrap on single code block
Date Wed, 21 Sep 2016 13:54:05 GMT
Repository: shiro-site
Updated Branches:
  refs/heads/master 03c3bb47f -> 6d23da7d3


Fixed line wrap on single code block


Project: http://git-wip-us.apache.org/repos/asf/shiro-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro-site/commit/6d23da7d
Tree: http://git-wip-us.apache.org/repos/asf/shiro-site/tree/6d23da7d
Diff: http://git-wip-us.apache.org/repos/asf/shiro-site/diff/6d23da7d

Branch: refs/heads/master
Commit: 6d23da7d347ef73322c39af0790618181b7601dd
Parents: 03c3bb4
Author: Brian Demers <bdemers@apache.org>
Authored: Wed Sep 21 09:53:53 2016 -0400
Committer: Brian Demers <bdemers@apache.org>
Committed: Wed Sep 21 09:53:53 2016 -0400

----------------------------------------------------------------------
 webapp-tutorial.md | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro-site/blob/6d23da7d/webapp-tutorial.md
----------------------------------------------------------------------
diff --git a/webapp-tutorial.md b/webapp-tutorial.md
index 22698cf..a621c74 100644
--- a/webapp-tutorial.md
+++ b/webapp-tutorial.md
@@ -346,25 +346,26 @@ Once you choose at least one user store to connect to for Shiro's needs,
we'll n
 
 If you've checked out the `step2` branch, you'll notice the `src/main/webapp/WEB-INF/shiro.ini`
file's `[main]` section now has the following additions:
 
-    # Configure a Realm to connect to a user datastore.  In this simple tutorial, we'll just
point to Stormpath since it
-    # takes 5 minutes to set up:
-    stormpathClient = com.stormpath.shiro.client.ClientFactory
-    stormpathClient.cacheManager = $cacheManager
-    
-    # (Optional) If you put your apiKey.properties in the non-default location, you set the
location here
-    #stormpathClient.apiKeyFileLocation = $HOME/.stormpath/apiKey.properties
-    
-    stormpathRealm = com.stormpath.shiro.realm.ApplicationRealm
-    stormpathRealm.client = $stormpathClient
-    
-    # Find this URL in your Stormpath console for an application you create:
-    # Applications -> (choose application name) --> Details --> REST URL
-    # (Optional) If you only have one Application
-    #stormpathRealm.applicationRestUrl = https://api.stormpath.com/v1/applications/$STORMPATH_APPLICATION_ID
-    
-    stormpathRealm.groupRoleResolver.modeNames = name
-    securityManager.realm = $stormpathRealm
-
+<pre style="white-space: pre;"><code>
+# Configure a Realm to connect to a user datastore.  In this simple tutorial, we'll just
point to Stormpath since it
+# takes 5 minutes to set up:
+stormpathClient = com.stormpath.shiro.client.ClientFactory
+stormpathClient.cacheManager = $cacheManager
+
+# (Optional) If you put your apiKey.properties in the non-default location, you set the location
here
+#stormpathClient.apiKeyFileLocation = $HOME/.stormpath/apiKey.properties
+
+stormpathRealm = com.stormpath.shiro.realm.ApplicationRealm
+stormpathRealm.client = $stormpathClient
+
+# Find this URL in your Stormpath console for an application you create:
+# Applications -> (choose application name) --> Details --> REST URL
+# (Optional) If you only have one Application
+#stormpathRealm.applicationRestUrl = https://api.stormpath.com/v1/applications/$STORMPATH_APPLICATION_ID
+
+stormpathRealm.groupRoleResolver.modeNames = name
+securityManager.realm = $stormpathRealm
+</code></pre>
 Note the optional lines:  
 
 - If you have been using Stormpath for a while and you have more then one Stormpath application,
the `stormpathRealm.applicationRestUrl` property must be set. 


Mime
View raw message