/** * Server level setting specific to Fuseki main. * General settings done by {@link FusekiConfig#processServerConfiguration}. */ private void processServerLevel(Resource server) { if ( server == null ) return; withPing = argBoolean(server, FusekiVocab.pServerPing, false); withStats = argBoolean(server, FusekiVocab.pServerStats, false); // Extract settings - the server building is done in buildSecurityHandler, // buildAccessControl. Dataset and graph level happen in assemblers. String passwdFile = GraphUtils.getAsStringValue(server, FusekiVocab.pPasswordFile); if ( passwdFile != null ) passwordFile(passwdFile); String realmStr = GraphUtils.getAsStringValue(server, FusekiVocab.pRealm); if ( realmStr != null ) realm(realmStr); String authStr = GraphUtils.getAsStringValue(server, FusekiVocab.pAuth); if ( authStr != null ) auth(AuthScheme.scheme(authStr)); serverAuth = FusekiBuilder.allowedUsers(server); }
/** * Server level setting specific to Fuseki main. * General settings done by {@link FusekiConfig#processServerConfiguration}. */ private void processServerLevel(Resource server) { if ( server == null ) return; withPing = argBoolean(server, FusekiVocab.pServerPing, false); withStats = argBoolean(server, FusekiVocab.pServerStats, false); // Extract settings - the server building is done in buildSecurityHandler, // buildAccessControl. Dataset and graph level happen in assemblers. String passwdFile = GraphUtils.getAsStringValue(server, FusekiVocab.pPasswordFile); if ( passwdFile != null ) passwordFile(passwdFile); String realmStr = GraphUtils.getAsStringValue(server, FusekiVocab.pRealm); if ( realmStr != null ) realm(realmStr); String authStr = GraphUtils.getAsStringValue(server, FusekiVocab.pAuth); if ( authStr != null ) auth(AuthScheme.scheme(authStr)); serverAuth = FusekiBuilder.allowedUsers(server); }
serverConfig.authScheme = AuthScheme.scheme(schemeStr);
serverConfig.authScheme = AuthScheme.scheme(schemeStr);