/** * Retrieves the server SASL credentials included in the bind result, if any. * * @return The server SASL credentials included in the bind result, or * {@code null} if the bind result did not include any server SASL * credentials. */ public ASN1OctetString getServerSASLCredentials() { return bindResult.getServerSASLCredentials(); } }
/** * Retrieves the server SASL credentials included in the bind result, if any. * * @return The server SASL credentials included in the bind result, or * {@code null} if the bind result did not include any server SASL * credentials. */ public ASN1OctetString getServerSASLCredentials() { return bindResult.getServerSASLCredentials(); } }
/** * Creates a new bind response protocol op from the provided bind result * object. * * @param result The LDAP result object to use to create this protocol op. */ public BindResponseProtocolOp(final LDAPResult result) { resultCode = result.getResultCode().intValue(); matchedDN = result.getMatchedDN(); diagnosticMessage = result.getDiagnosticMessage(); referralURLs = toList(result.getReferralURLs()); if (result instanceof BindResult) { final BindResult br = (BindResult) result; serverSASLCredentials = br.getServerSASLCredentials(); } else { serverSASLCredentials = null; } }
/** * Creates a new bind response protocol op from the provided bind result * object. * * @param result The LDAP result object to use to create this protocol op. */ public BindResponseProtocolOp(final LDAPResult result) { resultCode = result.getResultCode().intValue(); matchedDN = result.getMatchedDN(); diagnosticMessage = result.getDiagnosticMessage(); referralURLs = toList(result.getReferralURLs()); if (result instanceof BindResult) { final BindResult br = (BindResult) result; serverSASLCredentials = br.getServerSASLCredentials(); } else { serverSASLCredentials = null; } }
ASN1OctetString serverCreds = bindResult.getServerSASLCredentials(); if (serverCreds == null) bindResult.getServerSASLCredentials(); if (serverCredentials != null) serverCreds = bindResult.getServerSASLCredentials(); if (serverCreds == null)
bindResult.getMatchedDN(), bindResult.getDiagnosticMessage(), Arrays.asList(bindResult.getReferralURLs()), bindResult.getServerSASLCredentials()), Arrays.asList(bindResult.getResponseControls()));