Class BindRequestAccessLogMessage

    • Constructor Detail

      • BindRequestAccessLogMessage

        public BindRequestAccessLogMessage​(@NotNull
                                           java.lang.String s)
                                    throws LogException
        Creates a new bind request access log message from the provided message string.
        Parameters:
        s - The string to be parsed as an bind request access log message.
        Throws:
        LogException - If the provided string cannot be parsed as a valid log message.
      • BindRequestAccessLogMessage

        public BindRequestAccessLogMessage​(@NotNull
                                           LogMessage m)
        Creates a new bind request access log message from the provided message string.
        Parameters:
        m - The log message to be parsed as a bind request access log message.
    • Method Detail

      • getDN

        @Nullable
        public final java.lang.String getDN()
        Retrieves the DN of the user attempting to bind. This value may not be useful for authentication types other than "SIMPLE".
        Returns:
        The DN of the user attempting to bind, or null if it is not included in the log message.
      • getProtocolVersion

        @Nullable
        public final java.lang.String getProtocolVersion()
        Retrieves the protocol version for the bind request.
        Returns:
        The protocol version for the bind request, or null if it is not included in the log message.
      • getSASLMechanismName

        @Nullable
        public final java.lang.String getSASLMechanismName()
        Retrieves the name of the requested SASL mechanism. This should only be included for SASL bind attempts.
        Returns:
        The name of the requested SASL mechanism, or null if it is not included in the log message.