public class SaslAuthenticationDataSource extends Object implements org.apache.pulsar.broker.authentication.AuthenticationDataSource
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.pulsar.common.api.AuthData |
serverSideToken |
| Constructor and Description |
|---|
SaslAuthenticationDataSource(PulsarSaslServer saslServer) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pulsar.common.api.AuthData |
authenticate(org.apache.pulsar.common.api.AuthData data) |
String |
getAuthorizationID() |
boolean |
hasDataFromCommand() |
boolean |
isComplete() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandData, getHttpAuthType, getHttpHeader, getPeerAddress, getSubscription, getTlsCertificates, hasDataFromHttp, hasDataFromPeer, hasDataFromTls, hasSubscription, setSubscriptionprotected org.apache.pulsar.common.api.AuthData serverSideToken
public SaslAuthenticationDataSource(PulsarSaslServer saslServer)
public boolean hasDataFromCommand()
hasDataFromCommand in interface org.apache.pulsar.broker.authentication.AuthenticationDataSourcepublic org.apache.pulsar.common.api.AuthData authenticate(org.apache.pulsar.common.api.AuthData data) throws AuthenticationException
authenticate in interface org.apache.pulsar.broker.authentication.AuthenticationDataSourceAuthenticationExceptionpublic boolean isComplete()
public String getAuthorizationID()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.