Skip to content

Commit 4411188

Browse files
committed
Address @prabhjyotsingh feedback
1 parent 5c9242c commit 4411188

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

conf/shiro.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ shiro.loginUrl = /api/login
5858
role1 = *
5959
role2 = *
6060
role3 = *
61+
admin = *
6162

6263
[urls]
6364
# This section is used for url-based security.
@@ -66,8 +67,8 @@ role3 = *
6667
# authc means Form based Auth Security
6768
# To enfore security, comment the line below and uncomment the next one
6869
/api/version = anon
69-
#/api/interpreter/** = authc, roles[admin]
70-
#/api/configurations/** = authc, roles[admin]
71-
#/api/credential/** = authc, roles[admin]
72-
/** = anon
73-
#/** = authc
70+
/api/interpreter/** = authc, roles[admin]
71+
/api/configurations/** = authc, roles[admin]
72+
/api/credential/** = authc, roles[admin]
73+
#/** = anon
74+
/** = authc

0 commit comments

Comments
 (0)