You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/09/21 13:53:31 UTC
svn commit: r1761739 - /shiro/site/publish/webapp-tutorial.html
Author: bdemers
Date: Wed Sep 21 13:53:31 2016
New Revision: 1761739
URL: http://svn.apache.org/viewvc?rev=1761739&view=rev
Log:
Fixed line wrap on single code block
Modified:
shiro/site/publish/webapp-tutorial.html
Modified: shiro/site/publish/webapp-tutorial.html
URL: http://svn.apache.org/viewvc/shiro/site/publish/webapp-tutorial.html?rev=1761739&r1=1761738&r2=1761739&view=diff
==============================================================================
--- shiro/site/publish/webapp-tutorial.html (original)
+++ shiro/site/publish/webapp-tutorial.html Wed Sep 21 13:53:31 2016
@@ -264,7 +264,8 @@ Connection: keep-alive
<li>$YOUR_API_KEY_SECRET is the apiKey.secret value in apiKey.properties</li>
<li>$YOUR_APPLICATION_HREF is the application <code>href</code> you made note of above</li>
</ul><p>Again, don’t forget to change <code>$YOUR_APPLICATION_ID</code> in the URL above to match your application’s ID!</p><h3>2b: Configure the Realm in <code>shiro.ini</code></h3><p>Once you choose at least one user store to connect to for Shiro’s needs, we’ll need to configure a <code>Realm</code> that represents that data store and then tell the Shiro <code>SecurityManager</code> about it.</p><p>If you’ve checked out the <code>step2</code> branch, you’ll notice the <code>src/main/webapp/WEB-INF/shiro.ini</code> file’s <code>[main]</code> section now has the following additions:</p>
-<pre><code># Configure a Realm to connect to a user datastore. In this simple tutorial, we'll just point to Stormpath since it
+<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
@@ -276,7 +277,7 @@ stormpathRealm = com.stormpath.shiro.rea
stormpathRealm.client = $stormpathClient
# Find this URL in your Stormpath console for an application you create:
-# Applications -> (choose application name) --> Details --> REST URL
+# 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