| <!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 --> |
| <title>SaslImpl (Qpid Proton-J API)</title> |
| <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="SaslImpl (Qpid Proton-J API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/qpid/proton/engine/impl/RecordImpl.html" title="class in org.apache.qpid.proton.engine.impl"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/apache/qpid/proton/engine/impl/SenderImpl.html" title="class in org.apache.qpid.proton.engine.impl"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/qpid/proton/engine/impl/SaslImpl.html" target="_top">Frames</a></li> |
| <li><a href="SaslImpl.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.qpid.proton.engine.impl</div> |
| <h2 title="Class SaslImpl" class="title">Class SaslImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.qpid.proton.engine.impl.SaslImpl</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void>, <a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportLayer.html" title="interface in org.apache.qpid.proton.engine.impl">TransportLayer</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">SaslImpl</span> |
| extends java.lang.Object |
| implements <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a>, <a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void>, <a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportLayer.html" title="interface in org.apache.qpid.proton.engine.impl">TransportLayer</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.qpid.proton.engine.Sasl"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.qpid.proton.engine.<a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></h3> |
| <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslOutcome.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslOutcome</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslState.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslState</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== 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 byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#SASL_FRAME_TYPE">SASL_FRAME_TYPE</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.qpid.proton.engine.Sasl"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.qpid.proton.engine.<a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></h3> |
| <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_AUTH">PN_SASL_AUTH</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_NONE">PN_SASL_NONE</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_OK">PN_SASL_OK</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_PERM">PN_SASL_PERM</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_SKIPPED">PN_SASL_SKIPPED</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_SYS">PN_SASL_SYS</a>, <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#PN_SASL_TEMP">PN_SASL_TEMP</a></code></li> |
| </ul> |
| </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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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/qpid/proton/engine/impl/SaslImpl.html#allowSkip-boolean-">allowSkip</a></span>(boolean allowSkip)</code> |
| <div class="block">Set whether servers may accept incoming connections |
| that skip the SASL layer negotiation.</div> |
| </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/qpid/proton/engine/impl/SaslImpl.html#client--">client</a></span>()</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#done-org.apache.qpid.proton.engine.Sasl.SaslOutcome-">done</a></span>(<a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslOutcome.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslOutcome</a> outcome)</code> |
| <div class="block">Set the outcome of SASL negotiation |
| |
| Used by the server to set the result of the negotiation process.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/qpid/proton/amqp/Symbol.html" title="class in org.apache.qpid.proton.amqp">Symbol</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#getChosenMechanism--">getChosenMechanism</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#getHostname--">getHostname</a></span>()</code> |
| <div class="block">Retrieve the hostname indicated by the client when sending its SaslInit.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslOutcome.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslOutcome</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#getOutcome--">getOutcome</a></span>()</code> |
| <div class="block">Retrieve the outcome of SASL negotiation.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>java.lang.String[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#getRemoteMechanisms--">getRemoteMechanisms</a></span>()</code> |
| <div class="block">Retrieve the list of SASL mechanisms provided by the remote.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslState.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslState</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#getState--">getState</a></span>()</code> |
| <div class="block">Access the current state of the layer.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#handle-org.apache.qpid.proton.amqp.security.SaslFrameBody-org.apache.qpid.proton.amqp.Binary-">handle</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody</a> frameBody, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload)</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/qpid/proton/engine/impl/SaslImpl.html#handleChallenge-org.apache.qpid.proton.amqp.security.SaslChallenge-org.apache.qpid.proton.amqp.Binary-java.lang.Void-">handleChallenge</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslChallenge.html" title="class in org.apache.qpid.proton.amqp.security">SaslChallenge</a> saslChallenge, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</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/qpid/proton/engine/impl/SaslImpl.html#handleInit-org.apache.qpid.proton.amqp.security.SaslInit-org.apache.qpid.proton.amqp.Binary-java.lang.Void-">handleInit</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslInit.html" title="class in org.apache.qpid.proton.amqp.security">SaslInit</a> saslInit, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</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/qpid/proton/engine/impl/SaslImpl.html#handleMechanisms-org.apache.qpid.proton.amqp.security.SaslMechanisms-org.apache.qpid.proton.amqp.Binary-java.lang.Void-">handleMechanisms</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslMechanisms.html" title="class in org.apache.qpid.proton.amqp.security">SaslMechanisms</a> saslMechanisms, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</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/qpid/proton/engine/impl/SaslImpl.html#handleOutcome-org.apache.qpid.proton.amqp.security.SaslOutcome-org.apache.qpid.proton.amqp.Binary-java.lang.Void-">handleOutcome</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslOutcome.html" title="class in org.apache.qpid.proton.amqp.security">SaslOutcome</a> saslOutcome, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#handleResponse-org.apache.qpid.proton.amqp.security.SaslResponse-org.apache.qpid.proton.amqp.Binary-java.lang.Void-">handleResponse</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslResponse.html" title="class in org.apache.qpid.proton.amqp.security">SaslResponse</a> saslResponse, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#isDone--">isDone</a></span>()</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#pending--">pending</a></span>()</code> |
| <div class="block">Determine the size of the bytes available via recv().</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#plain-java.lang.String-java.lang.String-">plain</a></span>(java.lang.String username, |
| java.lang.String password)</code> |
| <div class="block">Configure the SASL layer to use the "PLAIN" mechanism.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#recv-byte:A-int-int-">recv</a></span>(byte[] bytes, |
| int offset, |
| int size)</code> |
| <div class="block">Read challenge/response/additional data sent from the peer.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#send-byte:A-int-int-">send</a></span>(byte[] bytes, |
| int offset, |
| int size)</code> |
| <div class="block">Send challenge/response/additional data to the peer.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#server--">server</a></span>()</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#setMechanism-org.apache.qpid.proton.amqp.Symbol-">setMechanism</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/Symbol.html" title="class in org.apache.qpid.proton.amqp">Symbol</a> mechanism)</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#setMechanisms-java.lang.String...-">setMechanisms</a></span>(java.lang.String... mechanisms)</code> |
| <div class="block">Set the acceptable SASL mechanisms for the layer.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#setRemoteHostname-java.lang.String-">setRemoteHostname</a></span>(java.lang.String hostname)</code> |
| <div class="block">Set the remote hostname to indicate the host being connected to when |
| sending a SaslInit to the server.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#setResponse-org.apache.qpid.proton.amqp.Binary-">setResponse</a></span>(<a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> initialResponse)</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportWrapper.html" title="interface in org.apache.qpid.proton.engine.impl">TransportWrapper</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/qpid/proton/engine/impl/SaslImpl.html#wrap-org.apache.qpid.proton.engine.impl.TransportInput-org.apache.qpid.proton.engine.impl.TransportOutput-">wrap</a></span>(<a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportInput.html" title="interface in org.apache.qpid.proton.engine.impl">TransportInput</a> input, |
| <a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportOutput.html" title="interface in org.apache.qpid.proton.engine.impl">TransportOutput</a> output)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="SASL_FRAME_TYPE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SASL_FRAME_TYPE</h4> |
| <pre>public static final byte SASL_FRAME_TYPE</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.qpid.proton.engine.impl.SaslImpl.SASL_FRAME_TYPE">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="isDone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDone</h4> |
| <pre>public boolean isDone()</pre> |
| </li> |
| </ul> |
| <a name="recv-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recv</h4> |
| <pre>public final int recv(byte[] bytes, |
| int offset, |
| int size)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#recv-byte:A-int-int-">Sasl</a></code></span></div> |
| <div class="block">Read challenge/response/additional data sent from the peer. |
| |
| Use pending to determine the size of the data.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#recv-byte:A-int-int-">recv</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bytes</code> - written with up to size bytes of inbound data.</dd> |
| <dd><code>offset</code> - the offset in the array to begin writing at</dd> |
| <dd><code>size</code> - maximum number of bytes that bytes can accept.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of bytes written to bytes, or an error code if < 0.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="send-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>send</h4> |
| <pre>public final int send(byte[] bytes, |
| int offset, |
| int size)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#send-byte:A-int-int-">Sasl</a></code></span></div> |
| <div class="block">Send challenge/response/additional data to the peer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#send-byte:A-int-int-">send</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bytes</code> - The challenge/response data.</dd> |
| <dd><code>offset</code> - the point within the array at which the data starts at</dd> |
| <dd><code>size</code> - The number of data octets in bytes.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of octets read from bytes, or an error code if < 0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="pending--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pending</h4> |
| <pre>public int pending()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#pending--">Sasl</a></code></span></div> |
| <div class="block">Determine the size of the bytes available via recv(). |
| |
| Returns the size in bytes available via recv().</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#pending--">pending</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of bytes available, zero if no available data.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getState--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getState</h4> |
| <pre>public <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslState.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslState</a> getState()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getState--">Sasl</a></code></span></div> |
| <div class="block">Access the current state of the layer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getState--">getState</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The state of the sasl layer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMechanisms-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMechanisms</h4> |
| <pre>public void setMechanisms(java.lang.String... mechanisms)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#setMechanisms-java.lang.String...-">Sasl</a></code></span></div> |
| <div class="block">Set the acceptable SASL mechanisms for the layer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#setMechanisms-java.lang.String...-">setMechanisms</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mechanisms</code> - a list of acceptable SASL mechanisms</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRemoteMechanisms--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRemoteMechanisms</h4> |
| <pre>public java.lang.String[] getRemoteMechanisms()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getRemoteMechanisms--">Sasl</a></code></span></div> |
| <div class="block">Retrieve the list of SASL mechanisms provided by the remote.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getRemoteMechanisms--">getRemoteMechanisms</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the SASL mechanisms advertised by the remote</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMechanism-org.apache.qpid.proton.amqp.Symbol-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMechanism</h4> |
| <pre>public void setMechanism(<a href="../../../../../../org/apache/qpid/proton/amqp/Symbol.html" title="class in org.apache.qpid.proton.amqp">Symbol</a> mechanism)</pre> |
| </li> |
| </ul> |
| <a name="getChosenMechanism--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChosenMechanism</h4> |
| <pre>public <a href="../../../../../../org/apache/qpid/proton/amqp/Symbol.html" title="class in org.apache.qpid.proton.amqp">Symbol</a> getChosenMechanism()</pre> |
| </li> |
| </ul> |
| <a name="setResponse-org.apache.qpid.proton.amqp.Binary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setResponse</h4> |
| <pre>public void setResponse(<a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> initialResponse)</pre> |
| </li> |
| </ul> |
| <a name="handle-org.apache.qpid.proton.amqp.security.SaslFrameBody-org.apache.qpid.proton.amqp.Binary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handle</h4> |
| <pre>public void handle(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody</a> frameBody, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload)</pre> |
| </li> |
| </ul> |
| <a name="handleInit-org.apache.qpid.proton.amqp.security.SaslInit-org.apache.qpid.proton.amqp.Binary-java.lang.Void-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleInit</h4> |
| <pre>public void handleInit(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslInit.html" title="class in org.apache.qpid.proton.amqp.security">SaslInit</a> saslInit, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html#handleInit-org.apache.qpid.proton.amqp.security.SaslInit-org.apache.qpid.proton.amqp.Binary-E-">handleInit</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleResponse-org.apache.qpid.proton.amqp.security.SaslResponse-org.apache.qpid.proton.amqp.Binary-java.lang.Void-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleResponse</h4> |
| <pre>public void handleResponse(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslResponse.html" title="class in org.apache.qpid.proton.amqp.security">SaslResponse</a> saslResponse, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html#handleResponse-org.apache.qpid.proton.amqp.security.SaslResponse-org.apache.qpid.proton.amqp.Binary-E-">handleResponse</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="done-org.apache.qpid.proton.engine.Sasl.SaslOutcome-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>done</h4> |
| <pre>public void done(<a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslOutcome.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslOutcome</a> outcome)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#done-org.apache.qpid.proton.engine.Sasl.SaslOutcome-">Sasl</a></code></span></div> |
| <div class="block">Set the outcome of SASL negotiation |
| |
| Used by the server to set the result of the negotiation process.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#done-org.apache.qpid.proton.engine.Sasl.SaslOutcome-">done</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>outcome</code> - the outcome of the SASL negotiation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleMechanisms-org.apache.qpid.proton.amqp.security.SaslMechanisms-org.apache.qpid.proton.amqp.Binary-java.lang.Void-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleMechanisms</h4> |
| <pre>public void handleMechanisms(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslMechanisms.html" title="class in org.apache.qpid.proton.amqp.security">SaslMechanisms</a> saslMechanisms, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html#handleMechanisms-org.apache.qpid.proton.amqp.security.SaslMechanisms-org.apache.qpid.proton.amqp.Binary-E-">handleMechanisms</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleChallenge-org.apache.qpid.proton.amqp.security.SaslChallenge-org.apache.qpid.proton.amqp.Binary-java.lang.Void-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleChallenge</h4> |
| <pre>public void handleChallenge(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslChallenge.html" title="class in org.apache.qpid.proton.amqp.security">SaslChallenge</a> saslChallenge, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html#handleChallenge-org.apache.qpid.proton.amqp.security.SaslChallenge-org.apache.qpid.proton.amqp.Binary-E-">handleChallenge</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleOutcome-org.apache.qpid.proton.amqp.security.SaslOutcome-org.apache.qpid.proton.amqp.Binary-java.lang.Void-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleOutcome</h4> |
| <pre>public void handleOutcome(<a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslOutcome.html" title="class in org.apache.qpid.proton.amqp.security">SaslOutcome</a> saslOutcome, |
| <a href="../../../../../../org/apache/qpid/proton/amqp/Binary.html" title="class in org.apache.qpid.proton.amqp">Binary</a> payload, |
| java.lang.Void context)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html#handleOutcome-org.apache.qpid.proton.amqp.security.SaslOutcome-org.apache.qpid.proton.amqp.Binary-E-">handleOutcome</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/amqp/security/SaslFrameBody.SaslFrameBodyHandler.html" title="interface in org.apache.qpid.proton.amqp.security">SaslFrameBody.SaslFrameBodyHandler</a><java.lang.Void></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="plain-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plain</h4> |
| <pre>public void plain(java.lang.String username, |
| java.lang.String password)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#plain-java.lang.String-java.lang.String-">Sasl</a></code></span></div> |
| <div class="block">Configure the SASL layer to use the "PLAIN" mechanism. |
| |
| A utility function to configure a simple client SASL layer using |
| PLAIN authentication.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#plain-java.lang.String-java.lang.String-">plain</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>username</code> - credential for the PLAIN authentication |
| mechanism</dd> |
| <dd><code>password</code> - credential for the PLAIN authentication |
| mechanism</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getOutcome--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOutcome</h4> |
| <pre>public <a href="../../../../../../org/apache/qpid/proton/engine/Sasl.SaslOutcome.html" title="enum in org.apache.qpid.proton.engine">Sasl.SaslOutcome</a> getOutcome()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getOutcome--">Sasl</a></code></span></div> |
| <div class="block">Retrieve the outcome of SASL negotiation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getOutcome--">getOutcome</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="client--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>client</h4> |
| <pre>public void client()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#client--">client</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="server--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>server</h4> |
| <pre>public void server()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#server--">server</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="allowSkip-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>allowSkip</h4> |
| <pre>public void allowSkip(boolean allowSkip)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#allowSkip-boolean-">Sasl</a></code></span></div> |
| <div class="block">Set whether servers may accept incoming connections |
| that skip the SASL layer negotiation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#allowSkip-boolean-">allowSkip</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="wrap-org.apache.qpid.proton.engine.impl.TransportInput-org.apache.qpid.proton.engine.impl.TransportOutput-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>wrap</h4> |
| <pre>public <a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportWrapper.html" title="interface in org.apache.qpid.proton.engine.impl">TransportWrapper</a> wrap(<a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportInput.html" title="interface in org.apache.qpid.proton.engine.impl">TransportInput</a> input, |
| <a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportOutput.html" title="interface in org.apache.qpid.proton.engine.impl">TransportOutput</a> output)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportLayer.html#wrap-org.apache.qpid.proton.engine.impl.TransportInput-org.apache.qpid.proton.engine.impl.TransportOutput-">wrap</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/impl/TransportLayer.html" title="interface in org.apache.qpid.proton.engine.impl">TransportLayer</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHostname--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHostname</h4> |
| <pre>public java.lang.String getHostname()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getHostname--">Sasl</a></code></span></div> |
| <div class="block">Retrieve the hostname indicated by the client when sending its SaslInit.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#getHostname--">getHostname</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the hostname indicated by the remote client, or null if none specified.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setRemoteHostname-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setRemoteHostname</h4> |
| <pre>public void setRemoteHostname(java.lang.String hostname)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#setRemoteHostname-java.lang.String-">Sasl</a></code></span></div> |
| <div class="block">Set the remote hostname to indicate the host being connected to when |
| sending a SaslInit to the server.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html#setRemoteHostname-java.lang.String-">setRemoteHostname</a></code> in interface <code><a href="../../../../../../org/apache/qpid/proton/engine/Sasl.html" title="interface in org.apache.qpid.proton.engine">Sasl</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/qpid/proton/engine/impl/RecordImpl.html" title="class in org.apache.qpid.proton.engine.impl"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/apache/qpid/proton/engine/impl/SenderImpl.html" title="class in org.apache.qpid.proton.engine.impl"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/qpid/proton/engine/impl/SaslImpl.html" target="_top">Frames</a></li> |
| <li><a href="SaslImpl.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 ======= --> |
| </body> |
| </html> |