Class TextFormattedBindRequestAccessLogMessage
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedAccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedRequestAccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedBindRequestAccessLogMessage
- All Implemented Interfaces:
AccessLogMessage,BindRequestAccessLogMessage,LogMessage,OperationRequestAccessLogMessage,Serializable
- Direct Known Subclasses:
TextFormattedBindForwardAccessLogMessage,TextFormattedBindResultAccessLogMessage
@NotExtensible
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public class TextFormattedBindRequestAccessLogMessage
extends TextFormattedRequestAccessLogMessage
implements BindRequestAccessLogMessage
This class provides a data structure that holds information about a
text-formatted bind request access log message.
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:
-
Field Summary
Fields inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedLogMessage
NO_FIELD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionTextFormattedBindRequestAccessLogMessage(String logMessageString) Creates a new text-formatted bind request access log message from the provided message string. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the type of authentication requested by the client.final StringgetDN()Retrieves the DN of the user attempting to bind.final AccessLogOperationTypeRetrieves the operation type for the associated operation.final StringRetrieves the protocol version for the bind request.final StringRetrieves the name of the requested SASL mechanism.Methods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedRequestAccessLogMessage
getAdministrativeOperationMessage, getIntermediateClientRequestControl, getMessageID, getMessageType, getOperationID, getOperationPurposeRequestControl, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThreadMethods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedAccessLogMessage
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadIDMethods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedLogMessage
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.AccessLogMessage
getConnectionID, getInstanceName, getMessageType, getProductName, getStartupID, getThreadIDMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.LogMessage
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toStringMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.OperationRequestAccessLogMessage
getAdministrativeOperationMessage, getMessageID, getOperationID, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
-
Constructor Details
-
TextFormattedBindRequestAccessLogMessage
public TextFormattedBindRequestAccessLogMessage(@NotNull String logMessageString) throws LogException Creates a new text-formatted bind request access log message from the provided message string.- Parameters:
logMessageString- The string representation of this log message. It must not benull.- Throws:
LogException- If the provided string cannot be parsed as a valid log message.
-
-
Method Details
-
getOperationType
Retrieves the operation type for the associated operation.- Specified by:
getOperationTypein interfaceOperationRequestAccessLogMessage- Returns:
- The operation type for this access log message.
-
getAuthenticationType
Retrieves the type of authentication requested by the client.- Specified by:
getAuthenticationTypein interfaceBindRequestAccessLogMessage- Returns:
- The type of authentication requested by the client, or
nullif it is not included in the log message.
-
getDN
Retrieves the DN of the user attempting to bind. This value may not be useful for authentication types other than "SIMPLE".- Specified by:
getDNin interfaceBindRequestAccessLogMessage- Returns:
- The DN of the user attempting to bind, or
nullif it is not included in the log message.
-
getProtocolVersion
Retrieves the protocol version for the bind request.- Specified by:
getProtocolVersionin interfaceBindRequestAccessLogMessage- Returns:
- The protocol version for the bind request, or
nullif it is not included in the log message.
-
getSASLMechanismName
Retrieves the name of the requested SASL mechanism. This should only be included for SASL bind attempts.- Specified by:
getSASLMechanismNamein interfaceBindRequestAccessLogMessage- Returns:
- The name of the requested SASL mechanism, or
nullif it is not included in the log message.
-