| | |
| | | */ |
| | | public final AuthenticationType getAuthenticationType() |
| | | { |
| | | |
| | | return authType; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final ByteString getRawBindDN() |
| | | { |
| | | |
| | | return rawBindDN; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final void setRawBindDN(ByteString rawBindDN) |
| | | { |
| | | |
| | | if (rawBindDN == null) |
| | | { |
| | | this.rawBindDN = new ASN1OctetString(); |
| | |
| | | */ |
| | | public final DN getBindDN() |
| | | { |
| | | |
| | | return bindDN; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final ByteString getSimplePassword() |
| | | { |
| | | |
| | | return simplePassword; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final void setSimplePassword(ByteString simplePassword) |
| | | { |
| | | |
| | | if (simplePassword == null) |
| | | { |
| | | this.simplePassword = new ASN1OctetString(); |
| | |
| | | */ |
| | | public final String getSASLMechanism() |
| | | { |
| | | |
| | | return saslMechanism; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final ASN1OctetString getSASLCredentials() |
| | | { |
| | | |
| | | return saslCredentials; |
| | | } |
| | | |
| | |
| | | public final void setSASLCredentials(String saslMechanism, |
| | | ASN1OctetString saslCredentials) |
| | | { |
| | | |
| | | this.saslMechanism = saslMechanism; |
| | | this.saslCredentials = saslCredentials; |
| | | |
| | |
| | | */ |
| | | public final ASN1OctetString getServerSASLCredentials() |
| | | { |
| | | |
| | | return serverSASLCredentials; |
| | | } |
| | | |
| | |
| | | public final void setServerSASLCredentials(ASN1OctetString |
| | | serverSASLCredentials) |
| | | { |
| | | |
| | | this.serverSASLCredentials = serverSASLCredentials; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final Entry getSASLAuthUserEntry() |
| | | { |
| | | |
| | | return saslAuthUserEntry; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final void setSASLAuthUserEntry(Entry saslAuthUserEntry) |
| | | { |
| | | |
| | | this.saslAuthUserEntry = saslAuthUserEntry; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final String getAuthFailureReason() |
| | | { |
| | | |
| | | return authFailureReason; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final int getAuthFailureID() |
| | | { |
| | | |
| | | return authFailureID; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final void setAuthFailureReason(int id, String reason) |
| | | { |
| | | |
| | | if (id < 0) |
| | | { |
| | | authFailureID = 0; |
| | |
| | | */ |
| | | public final DN getUserEntryDN() |
| | | { |
| | | |
| | | return userEntryDN; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final AuthenticationInfo getAuthenticationInfo() |
| | | { |
| | | |
| | | return authInfo; |
| | | } |
| | | |
| | |
| | | */ |
| | | public final void setAuthenticationInfo(AuthenticationInfo authInfo) |
| | | { |
| | | |
| | | this.authInfo = authInfo; |
| | | } |
| | | |
| | |
| | | @Override() |
| | | public final long getProcessingStartTime() |
| | | { |
| | | |
| | | return processingStartTime; |
| | | } |
| | | |
| | |
| | | @Override() |
| | | public final long getProcessingStopTime() |
| | | { |
| | | |
| | | return processingStopTime; |
| | | } |
| | | |
| | |
| | | @Override() |
| | | public final long getProcessingTime() |
| | | { |
| | | |
| | | return (processingStopTime - processingStartTime); |
| | | } |
| | | |
| | |
| | | @Override() |
| | | public final List<Control> getResponseControls() |
| | | { |
| | | |
| | | return responseControls; |
| | | } |
| | | |
| | |
| | | @Override() |
| | | public final void run() |
| | | { |
| | | |
| | | |
| | | // Start the processing timer and initially set the result to indicate that |
| | | // the result is unknown. |
| | | processingStartTime = System.currentTimeMillis(); |
| | |
| | | @Override() |
| | | public final CancelResult cancel(CancelRequest cancelRequest) |
| | | { |
| | | |
| | | cancelRequest.addResponseMessage(getMessage(MSGID_CANNOT_CANCEL_BIND)); |
| | | return CancelResult.CANNOT_CANCEL; |
| | | } |
| | |
| | | @Override() |
| | | public final CancelRequest getCancelRequest() |
| | | { |
| | | |
| | | return null; |
| | | } |
| | | |
| | |
| | | @Override() |
| | | boolean setCancelRequest(CancelRequest cancelRequest) |
| | | { |
| | | |
| | | // Bind operations cannot be canceled. |
| | | return false; |
| | | } |
| | |
| | | @Override() |
| | | public final void toString(StringBuilder buffer) |
| | | { |
| | | |
| | | buffer.append("BindOperation(connID="); |
| | | buffer.append(clientConnection.getConnectionID()); |
| | | buffer.append(", opID="); |