Class SaslMechanismsSelectedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.io.SaslMechanismsSelectedEvent
-
- All Implemented Interfaces:
Event
public class SaslMechanismsSelectedEvent extends AbstractEvent
This debug event signals that a SASL auth mechanism has been negotiated between the client and the server.This also contains more information around which mechansims are supported or advertised by the server and what the client was configured to accept.
- 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
Constructors Constructor Description SaslMechanismsSelectedEvent(IoContext context, Set<SaslMechanism> allowedMechanisms, SaslMechanism selectedMechanism)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<SaslMechanism>
allowedMechanisms()
String
description()
A textual description with more information about the event.SaslMechanism
selectedMechanism()
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
SaslMechanismsSelectedEvent
public SaslMechanismsSelectedEvent(IoContext context, Set<SaslMechanism> allowedMechanisms, SaslMechanism selectedMechanism)
-
-
Method Detail
-
description
public String description()
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
allowedMechanisms
public Set<SaslMechanism> allowedMechanisms()
-
selectedMechanism
public SaslMechanism selectedMechanism()
-
-