@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONClientCertificateAccessLogMessage extends JSONAccessLogMessage 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.
Constructor and Description |
---|
JSONClientCertificateAccessLogMessage(JSONObject jsonObject)
Creates a new JSON client certificate access log message from the provided
JSON object.
|
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.util.List<JSONCertificate> |
getPeerCertificateChain()
Retrieves the peer certificate chain for this log message.
|
java.lang.String |
getPeerSubjectDN()
Retrieves the subject of the peer certificate.
|
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, 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 JSONClientCertificateAccessLogMessage(@NotNull JSONObject jsonObject) throws LogException
jsonObject
- The JSON object that contains an encoded representation
of this log message. It must not be null
.LogException
- If the provided JSON object cannot be parsed as a
valid log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
@NotNull public java.util.List<JSONCertificate> getPeerCertificateChain()
null
if it is not included in the log message.@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.