String authUser = (String)servletContext.getInitParameter(Service.queryAuthUser.getSymbol());
String authPwd = (String)servletContext.getInitParameter(Service.queryAuthPwd.getSymbol());
if (authUser != null && authPwd != null)
getDataManager().putAuthContext(storeUri.toString(), authUser, authPwd);
return new GraphStoreOriginBase(storeUri.toString());
}
catch (ConfigurationException ex)
{
if (log.isErrorEnabled()) log.warn("Graph Store configuration error", ex);
throw new WebApplicationException(ex, Response.Status.INTERNAL_SERVER_ERROR);