blob: 93201a86feec0a39fff7dc3bde7528b65d153639 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.11) on Mon Jun 14 16:40:44 EDT 2021 -->
<title>Uses of Interface org.eclipse.jetty.server.UserIdentity (Eclipse Jetty API Doc - v10.0.5)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-06-14">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.eclipse.jetty.server.UserIdentity (Eclipse Jetty API Doc - v10.0.5)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">Class</a></li>
<li class="navBarCell1Rev">Use</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" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Interface org.eclipse.jetty.server.UserIdentity" class="title">Uses of Interface<br>org.eclipse.jetty.server.UserIdentity</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.jaas">org.eclipse.jetty.jaas</a></th>
<td class="colLast">
<div class="block">Jetty Jaas : Support for Jaas</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.security">org.eclipse.jetty.security</a></th>
<td class="colLast">
<div class="block">Jetty Security : Modular Support for Security in Jetty</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.security.authentication">org.eclipse.jetty.security.authentication</a></th>
<td class="colLast">
<div class="block">Jetty Security : Authenticators and Callbacks</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.security.jaspi">org.eclipse.jetty.security.jaspi</a></th>
<td class="colLast">
<div class="block">Jetty Jaspi : Java Authentication SPI</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.security.openid">org.eclipse.jetty.security.openid</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.server">org.eclipse.jetty.server</a></th>
<td class="colLast">
<div class="block">Jetty Server : Core Server API</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.jaas">
<!-- -->
</a>
<h3>Uses of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../../jaas/package-summary.html">org.eclipse.jetty.jaas</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../jaas/package-summary.html">org.eclipse.jetty.jaas</a> that return <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JAASLoginService.</span><code><span class="memberNameLink"><a href="../../jaas/JAASLoginService.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../jaas/package-summary.html">org.eclipse.jetty.jaas</a> with parameters of type <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JAASLoginService.</span><code><span class="memberNameLink"><a href="../../jaas/JAASLoginService.html#logout(org.eclipse.jetty.server.UserIdentity)">logout</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JAASLoginService.</span><code><span class="memberNameLink"><a href="../../jaas/JAASLoginService.html#validate(org.eclipse.jetty.server.UserIdentity)">validate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.security">
<!-- -->
</a>
<h3>Uses of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../../security/package-summary.html">org.eclipse.jetty.security</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../../security/package-summary.html">org.eclipse.jetty.security</a> that implement <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/DefaultUserIdentity.html" title="class in org.eclipse.jetty.security">DefaultUserIdentity</a></span></code></th>
<td class="colLast">
<div class="block">The default implementation of UserIdentity.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/SpnegoUserIdentity.html" title="class in org.eclipse.jetty.security">SpnegoUserIdentity</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Fields in <a href="../../security/package-summary.html">org.eclipse.jetty.security</a> declared as <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractUserAuthentication.</span><code><span class="memberNameLink"><a href="../../security/AbstractUserAuthentication.html#_userIdentity">_userIdentity</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../security/package-summary.html">org.eclipse.jetty.security</a> that return <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultIdentityService.</span><code><span class="memberNameLink"><a href="../../security/DefaultIdentityService.html#getSystemUserIdentity()">getSystemUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">IdentityService.</span><code><span class="memberNameLink"><a href="../../security/IdentityService.html#getSystemUserIdentity()">getSystemUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractUserAuthentication.</span><code><span class="memberNameLink"><a href="../../security/AbstractUserAuthentication.html#getUserIdentity()">getUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractLoginService.</span><code><span class="memberNameLink"><a href="../../security/AbstractLoginService.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConfigurableSpnegoLoginService.</span><code><span class="memberNameLink"><a href="../../security/ConfigurableSpnegoLoginService.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;req)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">LoginService.</span><code><span class="memberNameLink"><a href="../../security/LoginService.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Login a user.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultIdentityService.</span><code><span class="memberNameLink"><a href="../../security/DefaultIdentityService.html#newUserIdentity(javax.security.auth.Subject,java.security.Principal,java.lang.String%5B%5D)">newUserIdentity</a></span>&#8203;(javax.security.auth.Subject&nbsp;subject,
java.security.Principal&nbsp;userPrincipal,
java.lang.String[]&nbsp;roles)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">IdentityService.</span><code><span class="memberNameLink"><a href="../../security/IdentityService.html#newUserIdentity(javax.security.auth.Subject,java.security.Principal,java.lang.String%5B%5D)">newUserIdentity</a></span>&#8203;(javax.security.auth.Subject&nbsp;subject,
java.security.Principal&nbsp;userPrincipal,
java.lang.String[]&nbsp;roles)</code></th>
<td class="colLast">
<div class="block">Create a new UserIdentity for use with this identity service.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../security/package-summary.html">org.eclipse.jetty.security</a> with parameters of type <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultIdentityService.</span><code><span class="memberNameLink"><a href="../../security/DefaultIdentityService.html#associate(org.eclipse.jetty.server.UserIdentity)">associate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">If there are roles refs present in the scope, then wrap the UserIdentity
with one that uses the role references in the <a href="../UserIdentity.html#isUserInRole(java.lang.String,org.eclipse.jetty.server.UserIdentity.Scope)"><code>isUserInRole(String, org.eclipse.jetty.server.UserIdentity.Scope)</code></a></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">IdentityService.</span><code><span class="memberNameLink"><a href="../../security/IdentityService.html#associate(org.eclipse.jetty.server.UserIdentity)">associate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">Associate a user identity with the current thread.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConstraintSecurityHandler.</span><code><span class="memberNameLink"><a href="../../security/ConstraintSecurityHandler.html#checkWebResourcePermissions(java.lang.String,org.eclipse.jetty.server.Request,org.eclipse.jetty.server.Response,java.lang.Object,org.eclipse.jetty.server.UserIdentity)">checkWebResourcePermissions</a></span>&#8203;(java.lang.String&nbsp;pathInContext,
<a href="../Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
<a href="../Response.html" title="class in org.eclipse.jetty.server">Response</a>&nbsp;response,
java.lang.Object&nbsp;constraintInfo,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SecurityHandler.</span><code><span class="memberNameLink"><a href="../../security/SecurityHandler.html#checkWebResourcePermissions(java.lang.String,org.eclipse.jetty.server.Request,org.eclipse.jetty.server.Response,java.lang.Object,org.eclipse.jetty.server.UserIdentity)">checkWebResourcePermissions</a></span>&#8203;(java.lang.String&nbsp;pathInContext,
<a href="../Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
<a href="../Response.html" title="class in org.eclipse.jetty.server">Response</a>&nbsp;response,
java.lang.Object&nbsp;constraintInfo,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractLoginService.</span><code><span class="memberNameLink"><a href="../../security/AbstractLoginService.html#logout(org.eclipse.jetty.server.UserIdentity)">logout</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConfigurableSpnegoLoginService.</span><code><span class="memberNameLink"><a href="../../security/ConfigurableSpnegoLoginService.html#logout(org.eclipse.jetty.server.UserIdentity)">logout</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">LoginService.</span><code><span class="memberNameLink"><a href="../../security/LoginService.html#logout(org.eclipse.jetty.server.UserIdentity)">logout</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultIdentityService.</span><code><span class="memberNameLink"><a href="../../security/DefaultIdentityService.html#setRunAs(org.eclipse.jetty.server.UserIdentity,org.eclipse.jetty.security.RunAsToken)">setRunAs</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user,
<a href="../../security/RunAsToken.html" title="interface in org.eclipse.jetty.security">RunAsToken</a>&nbsp;token)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">IdentityService.</span><code><span class="memberNameLink"><a href="../../security/IdentityService.html#setRunAs(org.eclipse.jetty.server.UserIdentity,org.eclipse.jetty.security.RunAsToken)">setRunAs</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user,
<a href="../../security/RunAsToken.html" title="interface in org.eclipse.jetty.security">RunAsToken</a>&nbsp;token)</code></th>
<td class="colLast">
<div class="block">Associate a runas Token with the current user and thread.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractLoginService.</span><code><span class="memberNameLink"><a href="../../security/AbstractLoginService.html#validate(org.eclipse.jetty.server.UserIdentity)">validate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConfigurableSpnegoLoginService.</span><code><span class="memberNameLink"><a href="../../security/ConfigurableSpnegoLoginService.html#validate(org.eclipse.jetty.server.UserIdentity)">validate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">LoginService.</span><code><span class="memberNameLink"><a href="../../security/LoginService.html#validate(org.eclipse.jetty.server.UserIdentity)">validate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">Validate a user identity.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../../security/package-summary.html">org.eclipse.jetty.security</a> with parameters of type <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/AbstractUserAuthentication.html#%3Cinit%3E(java.lang.String,org.eclipse.jetty.server.UserIdentity)">AbstractUserAuthentication</a></span>&#8203;(java.lang.String&nbsp;method,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/SpnegoUserIdentity.html#%3Cinit%3E(javax.security.auth.Subject,java.security.Principal,org.eclipse.jetty.server.UserIdentity)">SpnegoUserIdentity</a></span>&#8203;(javax.security.auth.Subject&nbsp;subject,
java.security.Principal&nbsp;principal,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;roleDelegate)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/UserAuthentication.html#%3Cinit%3E(java.lang.String,org.eclipse.jetty.server.UserIdentity)">UserAuthentication</a></span>&#8203;(java.lang.String&nbsp;method,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.security.authentication">
<!-- -->
</a>
<h3>Uses of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../../security/authentication/package-summary.html">org.eclipse.jetty.security.authentication</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../security/authentication/package-summary.html">org.eclipse.jetty.security.authentication</a> that return <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizationService.</span><code><span class="memberNameLink"><a href="../../security/authentication/AuthorizationService.html#getUserIdentity(javax.servlet.http.HttpServletRequest,java.lang.String)">getUserIdentity</a></span>&#8203;(javax.servlet.http.HttpServletRequest&nbsp;request,
java.lang.String&nbsp;name)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SessionAuthentication.</span><code><span class="memberNameLink"><a href="../../security/authentication/SessionAuthentication.html#getUserIdentity()">getUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConfigurableSpnegoAuthenticator.</span><code><span class="memberNameLink"><a href="../../security/authentication/ConfigurableSpnegoAuthenticator.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;password,
javax.servlet.ServletRequest&nbsp;servletRequest)</code></th>
<td class="colLast">
<div class="block">Only renew the session id if the user has been fully authenticated, don't
renew the session for any of the intermediate request/response handshakes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DigestAuthenticator.</span><code><span class="memberNameLink"><a href="../../security/authentication/DigestAuthenticator.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FormAuthenticator.</span><code><span class="memberNameLink"><a href="../../security/authentication/FormAuthenticator.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;password,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">LoginAuthenticator.</span><code><span class="memberNameLink"><a href="../../security/authentication/LoginAuthenticator.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;password,
javax.servlet.ServletRequest&nbsp;servletRequest)</code></th>
<td class="colLast">
<div class="block">If the UserIdentity is not null after this method calls <a href="../../security/LoginService.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)"><code>LoginService.login(String, Object, ServletRequest)</code></a>, it
is assumed that the user is fully authenticated and we need to change the session id to prevent
session fixation vulnerability.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../../security/authentication/package-summary.html">org.eclipse.jetty.security.authentication</a> with parameters of type <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/authentication/FormAuthenticator.FormAuthentication.html#%3Cinit%3E(java.lang.String,org.eclipse.jetty.server.UserIdentity)">FormAuthentication</a></span>&#8203;(java.lang.String&nbsp;method,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/authentication/SessionAuthentication.html#%3Cinit%3E(java.lang.String,org.eclipse.jetty.server.UserIdentity,java.lang.Object)">SessionAuthentication</a></span>&#8203;(java.lang.String&nbsp;method,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity,
java.lang.Object&nbsp;credentials)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.security.jaspi">
<!-- -->
</a>
<h3>Uses of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../../security/jaspi/package-summary.html">org.eclipse.jetty.security.jaspi</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../security/jaspi/package-summary.html">org.eclipse.jetty.security.jaspi</a> that return <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaspiAuthenticator.</span><code><span class="memberNameLink"><a href="../../security/jaspi/JaspiAuthenticator.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;password,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.security.openid">
<!-- -->
</a>
<h3>Uses of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../../security/openid/package-summary.html">org.eclipse.jetty.security.openid</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../../security/openid/package-summary.html">org.eclipse.jetty.security.openid</a> that implement <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/openid/OpenIdUserIdentity.html" title="class in org.eclipse.jetty.security.openid">OpenIdUserIdentity</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../security/openid/package-summary.html">org.eclipse.jetty.security.openid</a> that return <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">OpenIdAuthenticator.</span><code><span class="memberNameLink"><a href="../../security/openid/OpenIdAuthenticator.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;username,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">OpenIdLoginService.</span><code><span class="memberNameLink"><a href="../../security/openid/OpenIdLoginService.html#login(java.lang.String,java.lang.Object,javax.servlet.ServletRequest)">login</a></span>&#8203;(java.lang.String&nbsp;identifier,
java.lang.Object&nbsp;credentials,
javax.servlet.ServletRequest&nbsp;req)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../security/openid/package-summary.html">org.eclipse.jetty.security.openid</a> with parameters of type <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">OpenIdLoginService.</span><code><span class="memberNameLink"><a href="../../security/openid/OpenIdLoginService.html#logout(org.eclipse.jetty.server.UserIdentity)">logout</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">OpenIdLoginService.</span><code><span class="memberNameLink"><a href="../../security/openid/OpenIdLoginService.html#validate(org.eclipse.jetty.server.UserIdentity)">validate</a></span>&#8203;(<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../../security/openid/package-summary.html">org.eclipse.jetty.security.openid</a> with parameters of type <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/openid/OpenIdAuthenticator.OpenIdAuthentication.html#%3Cinit%3E(java.lang.String,org.eclipse.jetty.server.UserIdentity)">OpenIdAuthentication</a></span>&#8203;(java.lang.String&nbsp;method,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../security/openid/OpenIdUserIdentity.html#%3Cinit%3E(javax.security.auth.Subject,java.security.Principal,org.eclipse.jetty.server.UserIdentity)">OpenIdUserIdentity</a></span>&#8203;(javax.security.auth.Subject&nbsp;subject,
java.security.Principal&nbsp;userPrincipal,
<a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a>&nbsp;userIdentity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.server">
<!-- -->
</a>
<h3>Uses of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../package-summary.html">org.eclipse.jetty.server</a></h3>
<table class="useSummary">
<caption><span>Subinterfaces of <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> in <a href="../package-summary.html">org.eclipse.jetty.server</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../UserIdentity.UnauthenticatedUserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity.UnauthenticatedUserIdentity</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Fields in <a href="../package-summary.html">org.eclipse.jetty.server</a> declared as <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserIdentity.</span><code><span class="memberNameLink"><a href="../UserIdentity.html#UNAUTHENTICATED_IDENTITY">UNAUTHENTICATED_IDENTITY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.eclipse.jetty.server</a> that return <a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Request.</span><code><span class="memberNameLink"><a href="../Request.html#getResolvedUserIdentity()">getResolvedUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Authentication.User.</span><code><span class="memberNameLink"><a href="../Authentication.User.html#getUserIdentity()">getUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Request.</span><code><span class="memberNameLink"><a href="../Request.html#getUserIdentity()">getUserIdentity</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../UserIdentity.html" title="interface in org.eclipse.jetty.server">Class</a></li>
<li class="navBarCell1Rev">Use</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" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>