blob: 27f23addaa540204fd9ce5b3ad828d405866f4b2 [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_66) on Fri Jan 15 14:33:41 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClientAuthenticationManager (Apache Mina SSHD :: Core 1.1.0 API)</title>
<meta name="date" content="2016-01-15">
<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="ClientAuthenticationManager (Apache Mina SSHD :: Core 1.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/ClientAuthenticationManager.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>Prev&nbsp;Class</li>
<li><a href="../../../../org/apache/sshd/client/ClientBuilder.html" title="class in org.apache.sshd.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/sshd/client/ClientAuthenticationManager.html" target="_top">Frames</a></li>
<li><a href="ClientAuthenticationManager.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>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&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.apache.sshd.client</div>
<h2 title="Interface ClientAuthenticationManager" class="title">Interface ClientAuthenticationManager</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a>, <a href="../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../org/apache/sshd/client/session/AbstractClientSession.html" title="class in org.apache.sshd.client.session">AbstractClientSession</a>, <a href="../../../../org/apache/sshd/client/session/ClientSessionImpl.html" title="class in org.apache.sshd.client.session">ClientSessionImpl</a>, <a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">ClientAuthenticationManager</span>
extends <a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a></pre>
<div class="block">Holds information required for the client to perform authentication with the server</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#DEFAULT_PASSWORD_PROMPTS">DEFAULT_PASSWORD_PROMPTS</a></span></code>
<div class="block">Default value for <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#PASSWORD_PROMPTS"><code>PASSWORD_PROMPTS</code></a> if none configured</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#PASSWORD_PROMPTS">PASSWORD_PROMPTS</a></span></code>
<div class="block">Specifies the number of interactive prompts before giving up.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#PREFERRED_AUTHS">PREFERRED_AUTHS</a></span></code>
<div class="block">Ordered comma separated list of authentications methods.</div>
</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPasswordIdentity-java.lang.String-">addPasswordIdentity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPublicKeyIdentity-java.security.KeyPair-">addPublicKeyIdentity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>&nbsp;key)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getPasswordIdentityProvider--">getPasswordIdentityProvider</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/client/auth/AuthenticationIdentitiesProvider.html" title="interface in org.apache.sshd.client.auth">AuthenticationIdentitiesProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getRegisteredIdentities--">getRegisteredIdentities</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getServerKeyVerifier--">getServerKeyVerifier</a></span>()</code>
<div class="block">Retrieve the server key verifier to be used to check the key when connecting
to an SSH server.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getUserAuthFactories--">getUserAuthFactories</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getUserInteraction--">getUserInteraction</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#removePasswordIdentity-java.lang.String-">removePasswordIdentity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#removePublicKeyIdentity-java.security.KeyPair-">removePublicKeyIdentity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>&nbsp;kp)</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/apache/sshd/client/ClientAuthenticationManager.html#setPasswordIdentityProvider-org.apache.sshd.client.auth.password.PasswordIdentityProvider-">setPasswordIdentityProvider</a></span>(<a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a>&nbsp;provider)</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/apache/sshd/client/ClientAuthenticationManager.html#setServerKeyVerifier-org.apache.sshd.client.keyverifier.ServerKeyVerifier-">setServerKeyVerifier</a></span>(<a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a>&nbsp;serverKeyVerifier)</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/apache/sshd/client/ClientAuthenticationManager.html#setUserAuthFactories-java.util.List-">setUserAuthFactories</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>&gt;&gt;&nbsp;userAuthFactories)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#setUserInteraction-org.apache.sshd.client.auth.keyboard.UserInteraction-">setUserInteraction</a></span>(<a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a>&nbsp;userInteraction)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.keyprovider.KeyPairProviderHolder">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.keyprovider.<a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a></h3>
<code><a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html#getKeyPairProvider--">getKeyPairProvider</a>, <a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html#setKeyPairProvider-org.apache.sshd.common.keyprovider.KeyPairProvider-">setKeyPairProvider</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="PREFERRED_AUTHS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PREFERRED_AUTHS</h4>
<pre>static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PREFERRED_AUTHS</pre>
<div class="block">Ordered comma separated list of authentications methods.
Authentications methods accepted by the server will be tried in the given order.
If not configured or <code>null</code>/empty, then the session's <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getUserAuthFactories--"><code>getUserAuthFactories()</code></a>
is used as-is</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.sshd.client.ClientAuthenticationManager.PREFERRED_AUTHS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PASSWORD_PROMPTS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PASSWORD_PROMPTS</h4>
<pre>static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PASSWORD_PROMPTS</pre>
<div class="block">Specifies the number of interactive prompts before giving up.
The argument to this keyword must be an integer.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.sshd.client.ClientAuthenticationManager.PASSWORD_PROMPTS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_PASSWORD_PROMPTS">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT_PASSWORD_PROMPTS</h4>
<pre>static final&nbsp;int DEFAULT_PASSWORD_PROMPTS</pre>
<div class="block">Default value for <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#PASSWORD_PROMPTS"><code>PASSWORD_PROMPTS</code></a> if none configured</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.sshd.client.ClientAuthenticationManager.DEFAULT_PASSWORD_PROMPTS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getRegisteredIdentities--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegisteredIdentities</h4>
<pre><a href="../../../../org/apache/sshd/client/auth/AuthenticationIdentitiesProvider.html" title="interface in org.apache.sshd.client.auth">AuthenticationIdentitiesProvider</a>&nbsp;getRegisteredIdentities()</pre>
</li>
</ul>
<a name="getPasswordIdentityProvider--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPasswordIdentityProvider</h4>
<pre><a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a>&nbsp;getPasswordIdentityProvider()</pre>
</li>
</ul>
<a name="setPasswordIdentityProvider-org.apache.sshd.client.auth.password.PasswordIdentityProvider-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPasswordIdentityProvider</h4>
<pre>void&nbsp;setPasswordIdentityProvider(<a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a>&nbsp;provider)</pre>
</li>
</ul>
<a name="addPasswordIdentity-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPasswordIdentity</h4>
<pre>void&nbsp;addPasswordIdentity(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>password</code> - Password to be added - may not be <code>null</code>/empty.
<B>Note:</B> this password is <U>in addition</U> to whatever passwords
are available via the <a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password"><code>PasswordIdentityProvider</code></a> (if any)</dd>
</dl>
</li>
</ul>
<a name="removePasswordIdentity-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePasswordIdentity</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removePasswordIdentity(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>password</code> - The password to remove - ignored if <code>null</code>/empty</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The removed password - same one that was added via
<a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPasswordIdentity-java.lang.String-"><code>addPasswordIdentity(String)</code></a> - or <code>null</code> if no
match found</dd>
</dl>
</li>
</ul>
<a name="addPublicKeyIdentity-java.security.KeyPair-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPublicKeyIdentity</h4>
<pre>void&nbsp;addPublicKeyIdentity(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>&nbsp;key)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security"><code>KeyPair</code></a> to add - may not be <code>null</code>
<B>Note:</B> this key is <U>in addition</U> to whatever keys
are available via the <a href="../../../../org/apache/sshd/common/keyprovider/KeyIdentityProvider.html" title="interface in org.apache.sshd.common.keyprovider"><code>KeyIdentityProvider</code></a> (if any)</dd>
</dl>
</li>
</ul>
<a name="removePublicKeyIdentity-java.security.KeyPair-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePublicKeyIdentity</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>&nbsp;removePublicKeyIdentity(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>&nbsp;kp)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>kp</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security"><code>KeyPair</code></a> to remove - ignored if <code>null</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The removed <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security"><code>KeyPair</code></a> - same one that was added via
<a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPublicKeyIdentity-java.security.KeyPair-"><code>addPublicKeyIdentity(KeyPair)</code></a> - or <code>null</code> if no
match found</dd>
</dl>
</li>
</ul>
<a name="getServerKeyVerifier--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerKeyVerifier</h4>
<pre><a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a>&nbsp;getServerKeyVerifier()</pre>
<div class="block">Retrieve the server key verifier to be used to check the key when connecting
to an SSH server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier"><code>ServerKeyVerifier</code></a> to use - never <code>null</code></dd>
</dl>
</li>
</ul>
<a name="setServerKeyVerifier-org.apache.sshd.client.keyverifier.ServerKeyVerifier-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setServerKeyVerifier</h4>
<pre>void&nbsp;setServerKeyVerifier(<a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a>&nbsp;serverKeyVerifier)</pre>
</li>
</ul>
<a name="getUserInteraction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserInteraction</h4>
<pre><a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a>&nbsp;getUserInteraction()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard"><code>UserInteraction</code></a> object to communicate with the user
(may be <code>null</code> to indicate that no such communication is allowed)</dd>
</dl>
</li>
</ul>
<a name="setUserInteraction-org.apache.sshd.client.auth.keyboard.UserInteraction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserInteraction</h4>
<pre>void&nbsp;setUserInteraction(<a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a>&nbsp;userInteraction)</pre>
</li>
</ul>
<a name="getUserAuthFactories--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserAuthFactories</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>&gt;&gt;&nbsp;getUserAuthFactories()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth"><code>UserAuth</code></a> <a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common"><code>NamedFactory</code></a>-ies - never
<code>null</code>/empty</dd>
</dl>
</li>
</ul>
<a name="setUserAuthFactories-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setUserAuthFactories</h4>
<pre>void&nbsp;setUserAuthFactories(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>&gt;&gt;&nbsp;userAuthFactories)</pre>
</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/ClientAuthenticationManager.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>Prev&nbsp;Class</li>
<li><a href="../../../../org/apache/sshd/client/ClientBuilder.html" title="class in org.apache.sshd.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/sshd/client/ClientAuthenticationManager.html" target="_top">Frames</a></li>
<li><a href="ClientAuthenticationManager.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>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&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; 2008&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>