Class DraftChuLDAPLogSchema00BindEntry

    • Constructor Detail

      • DraftChuLDAPLogSchema00BindEntry

        public DraftChuLDAPLogSchema00BindEntry​(@NotNull
                                                Entry entry)
                                         throws LDAPException
        Creates a new instance of this bind access log entry from the provided entry.
        Parameters:
        entry - The entry used to create this bind access log entry.
        Throws:
        LDAPException - If the provided entry cannot be decoded as a valid bind access log entry as per the specification contained in draft-chu-ldap-logschema-00.
    • Method Detail

      • getProtocolVersion

        public int getProtocolVersion()
        Retrieves the LDAP protocol version for the bind request described by this bind access log entry.
        Returns:
        The LDAP protocol version for the bind request described by this bind access log entry.
      • getBindMethod

        @NotNull
        public java.lang.String getBindMethod()
        Retrieves the name of the bind method for the bind request described by this bind access log entry. It is expected to be one of "SIMPLE" or "SASL".
        Returns:
        The name of the bind method for the bind request described by this bind access log entry.
      • getSASLMechanism

        @Nullable
        public java.lang.String getSASLMechanism()
        Retrieves the name of the SASL mechanism name for the bind request described by this bind access log entry, if appropriate.
        Returns:
        The name of the SASL mechanism for the bind request described by this bind access log entry, or null if the bind method is not "SASL".