1234567891011121314151617181920212223242526272829303132333435363738 |
- # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
- [main]
- # Development
- ssl.enabled = false
- plainMatcher=org.apache.shiro.authc.credential.SimpleCredentialsMatcher
- #iniRealm=org.apache.shiro.realm.text.IniRealm
- iniRealm.credentialsMatcher = $plainMatcher
- localhostFilter=org.apache.jena.fuseki.authz.LocalhostFilter
- [users]
- # Implicitly adds "iniRealm = org.apache.shiro.realm.text.IniRealm"
- admin=pw
- [roles]
- [urls]
- ## Control functions open to anyone
- /$/status = anon
- /$/ping = anon
- /$/metrics = anon
- ## and the rest are restricted to localhost.
- /$/** = localhostFilter
- ## If you want simple, basic authentication user/password
- ## on the operations,
- ## 1 - set a better password in [users] above.
- ## 2 - comment out the "/$/** = localhost" line and use:
- ## "/$/** = authcBasic,user[admin]"
- ## or to allow any access.
- ##/$/** = anon
- # Everything else
- /**=anon
|