We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c9242c commit 4411188Copy full SHA for 4411188
conf/shiro.ini
@@ -58,6 +58,7 @@ shiro.loginUrl = /api/login
58
role1 = *
59
role2 = *
60
role3 = *
61
+admin = *
62
63
[urls]
64
# This section is used for url-based security.
@@ -66,8 +67,8 @@ role3 = *
66
67
# authc means Form based Auth Security
68
# To enfore security, comment the line below and uncomment the next one
69
/api/version = anon
-#/api/interpreter/** = authc, roles[admin]
70
-#/api/configurations/** = authc, roles[admin]
71
-#/api/credential/** = authc, roles[admin]
72
-/** = anon
73
-#/** = authc
+/api/interpreter/** = authc, roles[admin]
+/api/configurations/** = authc, roles[admin]
+/api/credential/** = authc, roles[admin]
+#/** = anon
74
+/** = authc
0 commit comments