...
You can also configure it to check the properties file regularly for changes and reload when changes
are detected. The reloadInterval refreshInterval is in seconds:
| Code Block | ||
|---|---|---|
| ||
<Item>
<New class="org.mortbay.jetty.security.HashUserRealm">
<Set name="name">Test Realm</Set>
<Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set>
<Set name="reloadIntervalrefreshInterval">5</Set>
<Call name="start"></Call>
</New>
</Item>
|
...