final String dbName = getDatabase().getName(); if(!(getDatabase().getStorage() instanceof OStorageProxy)) user = getUser(username);
@Override public OUser getUser(final String username) { OUser user = null; if (Orient.instance().getSecurity() != null) { // See if there's a system user first. user = Orient.instance().getSecurity().getSystemUser(username, getDatabase().getName()); } // If not found, try the local database. if (user == null) user = super.getUser(username); return user; } }