Class OperationRequestAccessLogMessage
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.LogMessage
com.unboundid.ldap.sdk.unboundidds.logs.AccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.OperationAccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.OperationRequestAccessLogMessage
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbandonRequestAccessLogMessage,AddRequestAccessLogMessage,BindRequestAccessLogMessage,CompareRequestAccessLogMessage,DeleteRequestAccessLogMessage,ExtendedRequestAccessLogMessage,IntermediateResponseAccessLogMessage,ModifyDNRequestAccessLogMessage,ModifyRequestAccessLogMessage,SearchRequestAccessLogMessage,UnbindRequestAccessLogMessage
@NotExtensible
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public abstract class OperationRequestAccessLogMessage
extends OperationAccessLogMessage
This class provides a data structure that holds information about a log
message that may appear in the Directory Server access log about an
operation request received from a client.
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 Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new operation request access log message from the provided log message. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRetrieves the content of any intermediate client request control contained in the request.Retrieves the message type for this access log message.final StringRetrieves the content of any operation purpose request control contained in the request.Retrieves the OIDs of any request controls contained in the log message.final StringRetrieves the DN of the user that requested the operation.final StringRetrieves the IP address of the client that requested the operation.final BooleanIndicates whether the operation was processed using a worker thread from the dedicated administrative session thread pool.Methods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.OperationAccessLogMessage
getMessageID, getOperationID, getOperationType, getOrigin, getTriggeredByConnectionID, getTriggeredByOperationIDMethods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.AccessLogMessage
getConnectionID, getInstanceName, getProductName, getStartupID, parseMethods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.LogMessage
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
-
Constructor Details
-
OperationRequestAccessLogMessage
Creates a new operation request access log message from the provided log message.- Parameters:
m- The log message to be parsed as an operation request access log message.
-
-
Method Details
-
getRequesterDN
Retrieves the DN of the user that requested the operation.- Returns:
- The DN of the user that requested the operation, or
nullif it is not included in the log message.
-
getRequesterIPAddress
Retrieves the IP address of the client that requested the operation.- Returns:
- The IP address of the client that requested the operation, or
nullif it is not included in the log message.
-
getIntermediateClientRequest
Retrieves the content of any intermediate client request control contained in the request.- Returns:
- The content of any intermediate client request control contained
in the request, or
nullif it is not included in the log message.
-
getOperationPurpose
Retrieves the content of any operation purpose request control contained in the request.- Returns:
- The content of any operation purpose request control included in
the request, or
nullif it is not included in the log message.
-
getRequestControlOIDs
Retrieves the OIDs of any request controls contained in the log message.- Returns:
- The OIDs of any request controls contained in the log message, or an empty list if it is not included in the log message.
-
usingAdminSessionWorkerThread
Indicates whether the operation was processed using a worker thread from the dedicated administrative session thread pool.- Returns:
trueif the operation was processed using a worker thread from the dedicated administrative session thread pool,falseif it was not, ornullif that information was not included in the log message.
-
getMessageType
Retrieves the message type for this access log message.- Specified by:
getMessageTypein classAccessLogMessage- Returns:
- The message type for this access log message.
-