blob: 5fde23db7c3b660d46793acffc29832b4d1fd07e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Thu Jun 07 14:26:29 EDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HashLoginService (Jetty :: Project 9.3.24.v20180605 API)</title>
<meta name="date" content="2018-06-07">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HashLoginService (Jetty :: Project 9.3.24.v20180605 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":42,"i4":42,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HashLoginService.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/jetty/security/DefaultUserIdentity.html" title="class in org.eclipse.jetty.security"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/jetty/security/HashLoginService.HashKnownUser.html" title="class in org.eclipse.jetty.security"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/jetty/security/HashLoginService.html" target="_top">Frames</a></li>
<li><a href="HashLoginService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.jetty.security.MappedLoginService">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.jetty.security</div>
<h2 title="Class HashLoginService" class="title">Class HashLoginService</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">org.eclipse.jetty.security.MappedLoginService</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.security.HashLoginService</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../org/eclipse/jetty/security/LoginService.html" title="interface in org.eclipse.jetty.security">LoginService</a>, <a href="../../../../org/eclipse/jetty/security/PropertyUserStore.UserListener.html" title="interface in org.eclipse.jetty.security">PropertyUserStore.UserListener</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">HashLoginService</span>
extends <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a>
implements <a href="../../../../org/eclipse/jetty/security/PropertyUserStore.UserListener.html" title="interface in org.eclipse.jetty.security">PropertyUserStore.UserListener</a></pre>
<div class="block">Properties User Realm.
<p>
An implementation of UserRealm that stores users and roles in-memory in HashMaps.
<p>
Typically these maps are populated by calling the load() method or passing a properties resource to the constructor. The format of the properties file is:
<pre>
username: password [,rolename ...]
</pre>
Passwords may be clear text, obfuscated or checksummed. The class com.eclipse.Util.Password should be used to generate obfuscated passwords or password
checksums.
<p>
If DIGEST Authentication is used, the password must be in a recoverable format, either plain text or OBF:.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.HashKnownUser.html" title="class in org.eclipse.jetty.security">HashLoginService.HashKnownUser</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.security.MappedLoginService">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.security.<a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></h3>
<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.Anonymous.html" title="class in org.eclipse.jetty.security">MappedLoginService.Anonymous</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.KnownUser.html" title="class in org.eclipse.jetty.security">MappedLoginService.KnownUser</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.RolePrincipal.html" title="class in org.eclipse.jetty.security">MappedLoginService.RolePrincipal</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.UserPrincipal.html" title="interface in org.eclipse.jetty.security">MappedLoginService.UserPrincipal</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3>
<code><a href="../../../../org/eclipse/jetty/util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.security.MappedLoginService">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.security.<a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></h3>
<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#Z:Z_identityService">_identityService</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#Z:Z_name">_name</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#Z:Z_users">_users</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#RUNNING">RUNNING</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOP_ON_FAILURE">STOP_ON_FAILURE</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#HashLoginService--">HashLoginService</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#HashLoginService-java.lang.String-">HashLoginService</a></span>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#HashLoginService-java.lang.String-java.lang.String-">HashLoginService</a></span>(java.lang.String&nbsp;name,
java.lang.String&nbsp;config)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#doStart--">doStart</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#doStop--">doStop</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#getConfig--">getConfig</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/jetty/util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#getConfigResource--">getConfigResource</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#getRefreshInterval--">getRefreshInterval</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use <a href="../../../../org/eclipse/jetty/security/HashLoginService.html#isHotReload--"><code>isHotReload()</code></a> instead</span></div>
</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#isHotReload--">isHotReload</a></span>()</code>
<div class="block">Is hot reload enabled on this user store</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#loadRoleInfo-org.eclipse.jetty.security.MappedLoginService.KnownUser-">loadRoleInfo</a></span>(<a href="../../../../org/eclipse/jetty/security/MappedLoginService.KnownUser.html" title="class in org.eclipse.jetty.security">MappedLoginService.KnownUser</a>&nbsp;user)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/jetty/server/UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#loadUser-java.lang.String-">loadUser</a></span>(java.lang.String&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/jetty/security/MappedLoginService.KnownUser.html" title="class in org.eclipse.jetty.security">MappedLoginService.KnownUser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#loadUserInfo-java.lang.String-">loadUserInfo</a></span>(java.lang.String&nbsp;userName)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#loadUsers--">loadUsers</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#remove-java.lang.String-">remove</a></span>(java.lang.String&nbsp;userName)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#setConfig-java.lang.String-">setConfig</a></span>(java.lang.String&nbsp;config)</code>
<div class="block">Load realm users from properties file.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#setHotReload-boolean-">setHotReload</a></span>(boolean&nbsp;enable)</code>
<div class="block">Enable Hot Reload of the Property File</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#setRefreshInterval-int-">setRefreshInterval</a></span>(int&nbsp;sec)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use <a href="../../../../org/eclipse/jetty/security/HashLoginService.html#setHotReload-boolean-"><code>setHotReload(boolean)</code></a> instead</span></div>
</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/jetty/security/HashLoginService.html#update-java.lang.String-org.eclipse.jetty.util.security.Credential-java.lang.String:A-">update</a></span>(java.lang.String&nbsp;userName,
<a href="../../../../org/eclipse/jetty/util/security/Credential.html" title="class in org.eclipse.jetty.util.security">Credential</a>&nbsp;credential,
java.lang.String[]&nbsp;roleArray)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.security.MappedLoginService">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.security.<a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></h3>
<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#getIdentityService--">getIdentityService</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#getName--">getName</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#getUsers--">getUsers</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#login-java.lang.String-java.lang.Object-javax.servlet.ServletRequest-">login</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#logout-org.eclipse.jetty.server.UserIdentity-">logout</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#putUser-org.eclipse.jetty.security.MappedLoginService.KnownUser-java.lang.String:A-">putUser</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#putUser-java.lang.String-org.eclipse.jetty.util.security.Credential-java.lang.String:A-">putUser</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#putUser-java.lang.String-java.lang.Object-">putUser</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#removeUser-java.lang.String-">removeUser</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#setIdentityService-org.eclipse.jetty.security.IdentityService-">setIdentityService</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#setName-java.lang.String-">setName</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#setUsers-java.util.Map-">setUsers</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#toString--">toString</a>, <a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#validate-org.eclipse.jetty.server.UserIdentity-">validate</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#addLifeCycleListener-org.eclipse.jetty.util.component.LifeCycle.Listener-">addLifeCycleListener</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getState--">getState</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getState-org.eclipse.jetty.util.component.LifeCycle-">getState</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getStopTimeout--">getStopTimeout</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isFailed--">isFailed</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isRunning--">isRunning</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStarted--">isStarted</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStarting--">isStarting</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStopped--">isStopped</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStopping--">isStopping</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#removeLifeCycleListener-org.eclipse.jetty.util.component.LifeCycle.Listener-">removeLifeCycleListener</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#setStopTimeout-long-">setStopTimeout</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#start--">start</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#stop--">stop</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HashLoginService--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HashLoginService</h4>
<pre>public&nbsp;HashLoginService()</pre>
</li>
</ul>
<a name="HashLoginService-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HashLoginService</h4>
<pre>public&nbsp;HashLoginService(java.lang.String&nbsp;name)</pre>
</li>
</ul>
<a name="HashLoginService-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HashLoginService</h4>
<pre>public&nbsp;HashLoginService(java.lang.String&nbsp;name,
java.lang.String&nbsp;config)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfig</h4>
<pre>public&nbsp;java.lang.String&nbsp;getConfig()</pre>
</li>
</ul>
<a name="getConfigResource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfigResource</h4>
<pre>@Deprecated
public&nbsp;<a href="../../../../org/eclipse/jetty/util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;getConfigResource()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="setConfig-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConfig</h4>
<pre>public&nbsp;void&nbsp;setConfig(java.lang.String&nbsp;config)</pre>
<div class="block">Load realm users from properties file.
<p>
The property file maps usernames to password specs followed by an optional comma separated list of role names.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>config</code> - uri or url or path to realm properties file</dd>
</dl>
</li>
</ul>
<a name="isHotReload--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isHotReload</h4>
<pre>public&nbsp;boolean&nbsp;isHotReload()</pre>
<div class="block">Is hot reload enabled on this user store</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if hot reload was enabled before startup</dd>
</dl>
</li>
</ul>
<a name="setHotReload-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHotReload</h4>
<pre>public&nbsp;void&nbsp;setHotReload(boolean&nbsp;enable)</pre>
<div class="block">Enable Hot Reload of the Property File</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enable</code> - true to enable, false to disable</dd>
</dl>
</li>
</ul>
<a name="setRefreshInterval-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRefreshInterval</h4>
<pre>@Deprecated
public&nbsp;void&nbsp;setRefreshInterval(int&nbsp;sec)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use <a href="../../../../org/eclipse/jetty/security/HashLoginService.html#setHotReload-boolean-"><code>setHotReload(boolean)</code></a> instead</span></div>
<div class="block">sets the refresh interval (in seconds)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sec</code> - the refresh interval</dd>
</dl>
</li>
</ul>
<a name="getRefreshInterval--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefreshInterval</h4>
<pre>@Deprecated
public&nbsp;int&nbsp;getRefreshInterval()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use <a href="../../../../org/eclipse/jetty/security/HashLoginService.html#isHotReload--"><code>isHotReload()</code></a> instead</span></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>refresh interval in seconds for how often the properties file should be checked for changes</dd>
</dl>
</li>
</ul>
<a name="loadUser-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadUser</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/jetty/server/UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;loadUser(java.lang.String&nbsp;username)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#loadUser-java.lang.String-">loadUser</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></code></dd>
</dl>
</li>
</ul>
<a name="loadUsers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadUsers</h4>
<pre>public&nbsp;void&nbsp;loadUsers()
throws java.io.IOException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#loadUsers--">loadUsers</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="loadRoleInfo-org.eclipse.jetty.security.MappedLoginService.KnownUser-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadRoleInfo</h4>
<pre>protected&nbsp;java.lang.String[]&nbsp;loadRoleInfo(<a href="../../../../org/eclipse/jetty/security/MappedLoginService.KnownUser.html" title="class in org.eclipse.jetty.security">MappedLoginService.KnownUser</a>&nbsp;user)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#loadRoleInfo-org.eclipse.jetty.security.MappedLoginService.KnownUser-">loadRoleInfo</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></code></dd>
</dl>
</li>
</ul>
<a name="loadUserInfo-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadUserInfo</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/jetty/security/MappedLoginService.KnownUser.html" title="class in org.eclipse.jetty.security">MappedLoginService.KnownUser</a>&nbsp;loadUserInfo(java.lang.String&nbsp;userName)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#loadUserInfo-java.lang.String-">loadUserInfo</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></code></dd>
</dl>
</li>
</ul>
<a name="doStart--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStart</h4>
<pre>protected&nbsp;void&nbsp;doStart()
throws java.lang.Exception</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#doStart--">doStart</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#doStart--"><code>AbstractLifeCycle.doStart()</code></a></dd>
</dl>
</li>
</ul>
<a name="doStop--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStop</h4>
<pre>protected&nbsp;void&nbsp;doStop()
throws java.lang.Exception</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html#doStop--">doStop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/jetty/security/MappedLoginService.html" title="class in org.eclipse.jetty.security">MappedLoginService</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#doStop--"><code>AbstractLifeCycle.doStop()</code></a></dd>
</dl>
</li>
</ul>
<a name="update-java.lang.String-org.eclipse.jetty.util.security.Credential-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>update</h4>
<pre>public&nbsp;void&nbsp;update(java.lang.String&nbsp;userName,
<a href="../../../../org/eclipse/jetty/util/security/Credential.html" title="class in org.eclipse.jetty.util.security">Credential</a>&nbsp;credential,
java.lang.String[]&nbsp;roleArray)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/PropertyUserStore.UserListener.html#update-java.lang.String-org.eclipse.jetty.util.security.Credential-java.lang.String:A-">update</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/eclipse/jetty/security/PropertyUserStore.UserListener.html" title="interface in org.eclipse.jetty.security">PropertyUserStore.UserListener</a></code></dd>
</dl>
</li>
</ul>
<a name="remove-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;void&nbsp;remove(java.lang.String&nbsp;userName)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/jetty/security/PropertyUserStore.UserListener.html#remove-java.lang.String-">remove</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/eclipse/jetty/security/PropertyUserStore.UserListener.html" title="interface in org.eclipse.jetty.security">PropertyUserStore.UserListener</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HashLoginService.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/jetty/security/DefaultUserIdentity.html" title="class in org.eclipse.jetty.security"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/jetty/security/HashLoginService.HashKnownUser.html" title="class in org.eclipse.jetty.security"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/jetty/security/HashLoginService.html" target="_top">Frames</a></li>
<li><a href="HashLoginService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.jetty.security.MappedLoginService">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2018 <a href="http://webtide.com">Webtide</a>. All rights reserved.</small></p>
</body>
</html>