shiro.ini 906 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
  2. [main]
  3. # Development
  4. ssl.enabled = false
  5. plainMatcher=org.apache.shiro.authc.credential.SimpleCredentialsMatcher
  6. #iniRealm=org.apache.shiro.realm.text.IniRealm
  7. iniRealm.credentialsMatcher = $plainMatcher
  8. localhostFilter=org.apache.jena.fuseki.authz.LocalhostFilter
  9. [users]
  10. # Implicitly adds "iniRealm = org.apache.shiro.realm.text.IniRealm"
  11. admin=pw
  12. [roles]
  13. [urls]
  14. ## Control functions open to anyone
  15. /$/status = anon
  16. /$/ping = anon
  17. /$/metrics = anon
  18. ## and the rest are restricted to localhost.
  19. /$/** = localhostFilter
  20. ## If you want simple, basic authentication user/password
  21. ## on the operations,
  22. ## 1 - set a better password in [users] above.
  23. ## 2 - comment out the "/$/** = localhost" line and use:
  24. ## "/$/** = authcBasic,user[admin]"
  25. ## or to allow any access.
  26. ##/$/** = anon
  27. # Everything else
  28. /**=anon