| <!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 Class</li> |
| <li><a href="../../../../org/apache/sshd/client/ClientBuilder.html" title="class in org.apache.sshd.client"><span class="typeNameLink">Next 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </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"> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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> password)</code> </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> key)</code> </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> </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> </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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getUserAuthFactories--">getUserAuthFactories</a></span>()</code> </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> </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> password)</code> </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> kp)</code> </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> provider)</code> </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> serverKeyVerifier)</code> </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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> userAuthFactories)</code> </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> userInteraction)</code> </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 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 <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 <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 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> 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> 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 setPasswordIdentityProvider(<a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a> provider)</pre> |
| </li> |
| </ul> |
| <a name="addPasswordIdentity-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPasswordIdentity</h4> |
| <pre>void 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> 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> 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> 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 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> 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> 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> 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> 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 setServerKeyVerifier(<a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a> 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> 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 setUserInteraction(<a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a> 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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> 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 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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> 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 Class</li> |
| <li><a href="../../../../org/apache/sshd/client/ClientBuilder.html" title="class in org.apache.sshd.client"><span class="typeNameLink">Next 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </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 © 2008–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |