Skip to content

Commit 80f3525

Browse files
committed
Marked stormpath shiro.ini properties optional
1 parent 336c860 commit 80f3525

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/main/webapp/WEB-INF/shiro.ini

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,18 @@ securityManager.cacheManager = $cacheManager
3333
# takes 5 minutes to set up:
3434
stormpathClient = com.stormpath.shiro.client.ClientFactory
3535
stormpathClient.cacheManager = $cacheManager
36-
stormpathClient.apiKeyFileLocation = $HOME/.stormpath/apiKey.properties
36+
37+
# (Optional) If you put your apiKey.properties in the non-default location, you set the location here
38+
#stormpathClient.apiKeyFileLocation = $HOME/.stormpath/apiKey.properties
39+
3740
stormpathRealm = com.stormpath.shiro.realm.ApplicationRealm
3841
stormpathRealm.client = $stormpathClient
42+
3943
# Find this URL in your Stormpath console for an application you create:
4044
# Applications -> (choose application name) --> Details --> REST URL
41-
stormpathRealm.applicationRestUrl = https://api.stormpath.com/v1/applications/$STORMPATH_APPLICATION_ID
45+
# (Optional) If you only have one Application
46+
#stormpathRealm.applicationRestUrl = https://api.stormpath.com/v1/applications/$STORMPATH_APPLICATION_ID
47+
4248
stormpathRealm.groupRoleResolver.modeNames = name
4349
securityManager.realm = $stormpathRealm
4450

0 commit comments

Comments
 (0)