/** Constructor. * @param name Realm name * @param config Filename or url of user properties file. */ public HashUserRealm(String name, String config) throws IOException { _realmName=name; setConfig(config); }
/** Constructor. * @param name Realm name * @param config Filename or url of user properties file. */ public HashUserRealm(String name, String config) throws IOException { _realmName=name; setConfig(config); }
throws IOException super.setConfig(config); Properties properties = new Properties(); Resource resource=Resource.newResource(config);
userRealm.setConfig(jetty_home+"/etc/realm.properties"); server.setUserRealms(new UserRealm[]{userRealm});