peutch commented on issue #2505:
URL: https://github.com/apache/jena/issues/2505#issuecomment-2141372193

   Here is the shiro.ini full content:
   <pre>
   # 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
   /$/server  = anon
   /$/ping    = anon
   /$/metrics = anon
   /$/stats   = 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
   </pre>
   
   It is almost the same as the one provided by 
jena-fuseki2/jena-fuseki-webapp/src/main/resources/org/apache/jena/fuseki/webapp/shiro.ini,
 unless the add for '/$/stats', could this explain your 404?
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to