@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class TextFormattedClientCertificateAccessLogMessage extends TextFormattedAccessLogMessage implements ClientCertificateAccessLogMessage
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.
NO_FIELD_NAME
Constructor and Description |
---|
TextFormattedClientCertificateAccessLogMessage(java.lang.String logMessageString)
Creates a new text-formatted client certificate access log message from the
provided message string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAutoAuthenticatedAsDN()
Retrieves the DN of the user that was automatically authenticated by the
client certificate.
|
java.util.List<java.lang.String> |
getIssuerSubjectDNs()
Retrieves the subject of the issuer certificate.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.lang.String |
getPeerSubjectDN()
Retrieves the subject of the peer certificate.
|
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
public TextFormattedClientCertificateAccessLogMessage(@NotNull java.lang.String logMessageString) throws LogException
logMessageString
- The string representation of this log message.
It must not be null
.LogException
- If the provided string cannot be parsed as a valid
log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
@Nullable public java.lang.String getPeerSubjectDN()
getPeerSubjectDN
in interface ClientCertificateAccessLogMessage
null
if it is not
included in the log message.@NotNull public java.util.List<java.lang.String> getIssuerSubjectDNs()
getIssuerSubjectDNs
in interface ClientCertificateAccessLogMessage
@Nullable public java.lang.String getAutoAuthenticatedAsDN()
getAutoAuthenticatedAsDN
in interface ClientCertificateAccessLogMessage
null
if it is not included in the
log message.