@NotExtensible @ThreadSafety(level=COMPLETELY_THREADSAFE) public abstract class DraftChuLDAPLogSchema00Entry extends ReadOnlyEntry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_AUTHORIZATION_IDENTITY_DN
The name of the attribute used to hold the DN of the authorization identity
for the operation.
|
static java.lang.String |
ATTR_DIAGNOSTIC_MESSAGE
The name of the attribute used to hold the diagnostic message the server
included in the response to the client.
|
static java.lang.String |
ATTR_OPERATION_TYPE
The name of the attribute used to hold the type of operation that was
processed.
|
static java.lang.String |
ATTR_PROCESSING_END_TIME
The name of the attribute used to hold the time the server completed
processing the operation.
|
static java.lang.String |
ATTR_PROCESSING_START_TIME
The name of the attribute used to hold the time the server started
processing the operation.
|
static java.lang.String |
ATTR_REFERRAL_URL
The name of the attribute used to hold a referral URL the server included
in the response to the client.
|
static java.lang.String |
ATTR_REQUEST_CONTROL
The name of the attribute used to hold information about a request control
included in the request received from the client.
|
static java.lang.String |
ATTR_RESPONSE_CONTROL
The name of the attribute used to hold information about a response control
included in the result returned to the client.
|
static java.lang.String |
ATTR_RESULT_CODE
The name of the attribute used to hold the integer value of the result code
the server included in the response to the client.
|
static java.lang.String |
ATTR_SESSION_ID
The name of the attribute used to hold a session identifier for a sequence
of operations received on the same connection.
|
static java.lang.String |
ATTR_TARGET_ENTRY_DN
The name of the attribute used to hold the DN of the entry targeted by the
operation.
|
Modifier and Type | Method and Description |
---|---|
static DraftChuLDAPLogSchema00Entry |
decode(Entry entry)
Decodes the provided entry as an access log entry of the appropriate type.
|
java.lang.String |
getAuthorizationIdentityDN()
Retrieves the DN of the account that served as the authorization identity
for the operation represented by this access log entry, if any.
|
java.lang.String |
getDiagnosticMessage()
Retrieves the diagnostic message for the operation represented by this
access log entry, if any.
|
OperationType |
getOperationType()
Retrieves the type of operation represented by this access log entry.
|
java.util.Date |
getProcessingEndTimeDate()
Retrieves a parsed representation of the time that the server completed
processing the operation represented by this access log entry, if
available.
|
java.lang.String |
getProcessingEndTimeString()
Retrieves the string representation of the time that the server completed
processing the operation represented by this access log entry, if
available.
|
java.util.Date |
getProcessingStartTimeDate()
Retrieves a parsed representation of the time that the server started
processing the operation represented by this access log entry.
|
java.lang.String |
getProcessingStartTimeString()
Retrieves the string representation of the time that the server started
processing the operation represented by this access log entry.
|
java.util.List<java.lang.String> |
getReferralURLs()
Retrieves the list of referral URLs for the operation represented by this
access log entry, if any.
|
java.util.List<Control> |
getRequestControls()
Retrieves a list of the request controls for the operation represented by
this access log entry, if any.
|
java.util.List<Control> |
getResponseControls()
Retrieves a list of the response controls for the operation represented by
this access log entry, if any.
|
ResultCode |
getResultCode()
Retrieves the result code for the operation represented by this access log
entry, if any.
|
java.lang.String |
getSessionID()
Retrieves the session identifier that the server assigned to the operation
represented by this access log entry and can be used to correlate that
operation with other operations requested on the same client connection.
|
java.lang.String |
getTargetEntryDN()
Retrieves the DN of the entry targeted by by the operation represented by
this access log entry, if available.
|
LDAPResult |
toLDAPResult()
Retrieves an
LDAPResult object that represents the server response
described by this access log entry, if any. |
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDN
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
@NotNull public static final java.lang.String ATTR_AUTHORIZATION_IDENTITY_DN
@NotNull public static final java.lang.String ATTR_DIAGNOSTIC_MESSAGE
@NotNull public static final java.lang.String ATTR_OPERATION_TYPE
@NotNull public static final java.lang.String ATTR_PROCESSING_END_TIME
@NotNull public static final java.lang.String ATTR_PROCESSING_START_TIME
@NotNull public static final java.lang.String ATTR_REFERRAL_URL
@NotNull public static final java.lang.String ATTR_REQUEST_CONTROL
@NotNull public static final java.lang.String ATTR_RESPONSE_CONTROL
@NotNull public static final java.lang.String ATTR_RESULT_CODE
@NotNull public static final java.lang.String ATTR_SESSION_ID
@NotNull public static final java.lang.String ATTR_TARGET_ENTRY_DN
@NotNull public final OperationType getOperationType()
@Nullable public final java.lang.String getTargetEntryDN()
null
if no DN is available.@NotNull public final java.lang.String getProcessingStartTimeString()
getProcessingStartTimeDate()
method.@NotNull public final java.util.Date getProcessingStartTimeDate()
getProcessingStartTimeString()
method.@Nullable public final java.lang.String getProcessingEndTimeString()
getProcessingEndTimeDate()
method.null
if no end time is available.@Nullable public final java.util.Date getProcessingEndTimeDate()
getProcessingEndTimeString()
method.@NotNull public final java.lang.String getSessionID()
@NotNull public final java.util.List<Control> getRequestControls()
@Nullable public final ResultCode getResultCode()
null
if no result code was included in the
access log entry.@Nullable public final java.lang.String getDiagnosticMessage()
null
if no result code was included
in the access log entry.@NotNull public final java.util.List<java.lang.String> getReferralURLs()
@NotNull public final java.util.List<Control> getResponseControls()
@Nullable public final java.lang.String getAuthorizationIdentityDN()
null
if the authorization identity is not available.@Nullable public final LDAPResult toLDAPResult()
LDAPResult
object that represents the server response
described by this access log entry, if any. Note that for some types of
operations, like abandon and unbind operations, the server will not return
a result to the client.LDAPResult
object that represents the server response
described by this access log entry, or null
if no response
information is available.@NotNull public static DraftChuLDAPLogSchema00Entry decode(@NotNull Entry entry) throws LDAPException
entry
- The entry to decode as an access log entry. It must not be
null
.LDAPException
- If the provided entry cannot be decoded as a valid
access log entry as per the specification contained
in draft-chu-ldap-logschema-00.