Class OneStageAuthenticationState

java.lang.Object
org.apache.pulsar.broker.authentication.OneStageAuthenticationState
All Implemented Interfaces:
AuthenticationState

public class OneStageAuthenticationState extends Object implements AuthenticationState
A class to track single stage authentication. This class assumes that: 1. authenticateAsync(AuthData) is called once and when the CompletableFuture completes, authentication is complete. 2. Authentication does not expire, so AuthenticationState.isExpired() always returns false.

See AuthenticationState for Pulsar's contract on how this interface is used by Pulsar.