fuseki webinterface does not show datasets

前端 未结 1 2007
予麋鹿
予麋鹿 2021-01-19 16:36

I have installed fuseki and start the server with

#!/bin/sh    
cd /home/frank/localInstall/jena/apache-jena-fuseki-2.5.0
exec /home/frank/localInstall/jena         


        
相关标签:
1条回答
  • 2021-01-19 17:07

    The problem was not with the config file, but with the default shiro.ini file in .../apache-jena-fuseki-2.5.0/run/shiro.ini. The default values do only allow local access and my access was a server. The instructions to change are clear enough. Here the relevant parts after the change:

    [users]
    # Implicitly adds "iniRealm =  org.apache.shiro.realm.text.IniRealm"
    admin=passXXX  ## changed 
    
    [roles]
    
    [urls]
    ## Control functions open to anyone
    /$/status = anon
    /$/ping   = anon
    
    ## and the rest are restricted to localhost.
    ##/$/** = localhostFilter  ## commented out
    
    ## 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]"  ## enabled, removed ##
    

    I assume that it is explained somewhere and I read it and forgot it when I moved from my localhost installation to a server. It would be helpful if the interface would indicate that permissions are not given in stead of inviting to select a dataset.

    0 讨论(0)
提交回复
热议问题