Class BindResultAccessLogMessage

All Implemented Interfaces:
MinimalOperationResultAccessLogMessage, OperationResultAccessLogMessage, Serializable

This class provides a data structure that holds information about a log message that may appear in the Directory Server access log about the result of a bind operation processed by the Directory Server.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
See Also:
  • Constructor Details

    • BindResultAccessLogMessage

      Creates a new bind result access log message from the provided message string.
      Parameters:
      s - The string to be parsed as a bind result access log message.
      Throws:
      LogException - If the provided string cannot be parsed as a valid log message.
    • BindResultAccessLogMessage

      Creates a new bind result access log message from the provided log message.
      Parameters:
      m - The log message to be parsed as a bind result access log message.
  • Method Details

    • getResultCode

      Retrieves the result code for the operation.
      Specified by:
      getResultCode in interface MinimalOperationResultAccessLogMessage
      Returns:
      The result code for the operation, or null if it is not included in the log message.
    • getDiagnosticMessage

      Retrieves the diagnostic message for the operation.
      Specified by:
      getDiagnosticMessage in interface MinimalOperationResultAccessLogMessage
      Returns:
      The diagnostic message for the operation, or null if it is not included in the log message.
    • getAdditionalInformation

      Retrieves a message with additional information about the result of the operation.
      Specified by:
      getAdditionalInformation in interface MinimalOperationResultAccessLogMessage
      Returns:
      A message with additional information about the result of the operation, or null if it is not included in the log message.
    • getMatchedDN

      Retrieves the matched DN for the operation.
      Specified by:
      getMatchedDN in interface MinimalOperationResultAccessLogMessage
      Returns:
      The matched DN for the operation, or null if it is not included in the log message.
    • getReferralURLs

      Retrieves the list of referral URLs for the operation.
      Specified by:
      getReferralURLs in interface MinimalOperationResultAccessLogMessage
      Returns:
      The list of referral URLs for the operation, or an empty list if it is not included in the log message.
    • getIntermediateResponsesReturned

      Retrieves the number of intermediate response messages returned in the course of processing the operation.
      Specified by:
      getIntermediateResponsesReturned in interface OperationResultAccessLogMessage
      Returns:
      The number of intermediate response messages returned to the client in the course of processing the operation, or null if it is not included in the log message.
    • getProcessingTimeMillis

      Retrieves the length of time in milliseconds required to process the operation.
      Specified by:
      getProcessingTimeMillis in interface MinimalOperationResultAccessLogMessage
      Returns:
      The length of time in milliseconds required to process the operation, or null if it is not included in the log message.
    • getQueueTimeMillis

      Retrieves the length of time in milliseconds the operation was required to wait on the work queue.
      Specified by:
      getQueueTimeMillis in interface MinimalOperationResultAccessLogMessage
      Returns:
      The length of time in milliseconds the operation was required to wait on the work queue, or null if it is not included in the log message.
    • getResponseControlOIDs

      Retrieves the OIDs of any response controls contained in the log message.
      Specified by:
      getResponseControlOIDs in interface OperationResultAccessLogMessage
      Returns:
      The OIDs of any response controls contained in the log message, or an empty list if it is not included in the log message.
    • getServersAccessed

      Retrieves a list of the additional servers that were accessed in the course of processing the operation. For example, if the access log message is from a Directory Proxy Server instance, then this may contain a list of the backend servers used to process the operation.
      Specified by:
      getServersAccessed in interface OperationResultAccessLogMessage
      Returns:
      A list of the additional servers that were accessed in the course of processing the operation, or an empty list if it is not included in the log message.
    • getUncachedDataAccessed

      Indicates whether the server accessed any uncached data in the course of processing the operation.
      Returns:
      true if the server was known to access uncached data in the course of processing the operation, false if the server was known not to access uncached data, or null if it is not included in the log message (and the server likely did not access uncached data).
    • getIntermediateClientResult

      Retrieves the content of the intermediate client result for the operation.
      Specified by:
      getIntermediateClientResult in interface OperationResultAccessLogMessage
      Returns:
      The content of the intermediate client result for the operation, or null if it is not included in the log message.
    • getAuthenticationDN

      Retrieves the DN of the user authenticated by the bind operation.
      Returns:
      The DN of the user authenticated by the bind operation, or null if it is not included in the log message.
    • getAuthorizationDN

      Retrieves the DN of the alternate authorization identity for the bind operation.
      Returns:
      The DN of the alternate authorization identity for the bind operation, or null if it is not included in the log message.
    • getAuthenticationFailureID

      Retrieves the numeric identifier for the authentication failure reason.
      Returns:
      The numeric identifier for the authentication failure reason, or null if it is not included in the log message.
    • getAuthenticationFailureReason

      Retrieves a message with information about the reason that the authentication attempt failed.
      Returns:
      A message with information about the reason that the authentication attempt failed, or null if it is not included in the log message.
    • getRetiredPasswordUsed

      Indicates whether a retired password was used in the course of processing the bind.
      Returns:
      true if a retired password was used in the course of processing the bind, false if a retired password was not used in the course of processing the bind, or null if this was not included in the log message (and a retired password was likely not used in the course of processing the operation).
    • getTargetHost

      Retrieves the address of the backend server to which the request has been forwarded.
      Returns:
      The address of the backend server to which the request has been forwarded, or null if it is not included in the log message.
    • getTargetPort

      Retrieves the port of the backend server to which the request has been forwarded.
      Returns:
      The port of the backend server to which the request has been forwarded, or null if it is not included in the log message.
    • getTargetProtocol

      Retrieves the protocol used to forward the request to the backend server.
      Returns:
      The protocol used to forward the request to the backend server, or null if it is not included in the log message.
    • getClientConnectionPolicy

      Retrieves the name of the client connection policy that was selected for the client connection.
      Returns:
      The name of the client connection policy that was selected for the client connection, or null if it is not included in the log message.
    • getUsedPrivileges

      Retrieves the names of any privileges used during the course of processing the operation.
      Returns:
      The names of any privileges used during the course of processing the operation, or an empty list if no privileges were used or this is not included in the log message.
    • getPreAuthorizationUsedPrivileges

      Retrieves the names of any privileges used during the course of processing the operation before an alternate authorization identity was assigned.
      Returns:
      The names of any privileges used during the course of processing the operation before an alternate authorization identity was assigned, or an empty list if no privileges were used or this is not included in the log message.
    • getMissingPrivileges

      Retrieves the names of any privileges that would have been required for processing the operation but that the requester did not have.
      Returns:
      The names of any privileges that would have been required for processing the operation but that the requester did not have, or an empty list if there were no missing privileges or this is not included in the log message.
    • getMessageType

      Retrieves the message type for this access log message.
      Overrides:
      getMessageType in class OperationRequestAccessLogMessage
      Returns:
      The message type for this access log message.