Class DraftChuLDAPLogSchema00BindEntry
java.lang.Object
com.unboundid.ldap.sdk.Entry
com.unboundid.ldap.sdk.ReadOnlyEntry
com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00BindEntry
- All Implemented Interfaces:
LDIFRecord,Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class DraftChuLDAPLogSchema00BindEntry
extends DraftChuLDAPLogSchema00Entry
This class represents an entry that holds information about a bind operation
processed by an LDAP server, as per the specification described in
draft-chu-ldap-logschema-00.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the attribute used to hold the bind request method.static final StringThe name of the attribute used to hold the LDAP protocol version specified in the bind request.Fields inherited from class com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
ATTR_AUTHORIZATION_IDENTITY_DN, ATTR_DIAGNOSTIC_MESSAGE, ATTR_OPERATION_TYPE, ATTR_PROCESSING_END_TIME, ATTR_PROCESSING_START_TIME, ATTR_REFERRAL_URL, ATTR_REQUEST_CONTROL, ATTR_RESPONSE_CONTROL, ATTR_RESULT_CODE, ATTR_SESSION_ID, ATTR_TARGET_ENTRY_DN -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this bind access log entry from the provided entry. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name of the bind method for the bind request described by this bind access log entry.intRetrieves the LDAP protocol version for the bind request described by this bind access log entry.Retrieves the name of the SASL mechanism name for the bind request described by this bind access log entry, if appropriate.Methods inherited from class com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
decode, getAuthorizationIdentityDN, getDiagnosticMessage, getOperationType, getProcessingEndTimeDate, getProcessingEndTimeString, getProcessingStartTimeDate, getProcessingStartTimeString, getReferralURLs, getRequestControls, getResponseControls, getResultCode, getSessionID, getTargetEntryDN, toLDAPResultMethods inherited from class com.unboundid.ldap.sdk.ReadOnlyEntry
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDNMethods inherited from class com.unboundid.ldap.sdk.Entry
addAttribute, applyModifications, applyModifications, applyModifyDN, applyModifyDN, diff, diff, diff, duplicate, equals, getAttribute, getAttribute, getAttributes, getAttributesWithOptions, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsDate, getAttributeValueAsDN, getAttributeValueAsInteger, getAttributeValueAsLong, getAttributeValueByteArrays, getAttributeValueBytes, getAttributeValues, getDN, getObjectClassAttribute, getObjectClassValues, getParentDN, getParentDNString, getParsedDN, getRDN, getSchema, hasAttribute, hasAttribute, hasAttribute, hasAttributeValue, hasAttributeValue, hasAttributeValue, hasAttributeValue, hashCode, hasObjectClass, intersectEntries, matchesBaseAndScope, matchesBaseAndScope, mergeEntries, removeAttributeValue, removeAttributeValue, setAttribute, toLDIF, toLDIF, toLDIF, toLDIF, toLDIFString, toLDIFString, toLDIFString, toLDIFString, toString, toString
-
Field Details
-
ATTR_BIND_METHOD
The name of the attribute used to hold the bind request method.- See Also:
-
ATTR_PROTOCOL_VERSION
The name of the attribute used to hold the LDAP protocol version specified in the bind request.- See Also:
-
-
Constructor Details
-
DraftChuLDAPLogSchema00BindEntry
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 Details
-
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
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
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
nullif the bind method is not "SASL".
-