Class SaslAuthenticationFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.SaslAuthenticationFailedEvent
- All Implemented Interfaces:
Event
If something goes wrong during the SASL authentication process, this event is raised.
Usually when this event is raised, the channel in the context has been closed and the connect process aborted, since without authentication no data can flow. This should be treated as an important problem to be looked at and therefore has an ERROR severity.
A little more context might be provided from the description.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
Field Summary
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
Constructor Summary
ConstructorDescriptionSaslAuthenticationFailedEvent
(Duration duration, KeyValueIoErrorContext context, String description, byte[] lastPacket) -
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.byte[]
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
SaslAuthenticationFailedEvent
public SaslAuthenticationFailedEvent(Duration duration, KeyValueIoErrorContext context, String description, byte[] lastPacket)
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
lastPacket
public byte[] lastPacket()
-