public class PulsarSaslServer extends Object
| Constructor and Description |
|---|
PulsarSaslServer(Subject subject,
Pattern allowedIdsPattern) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationID()
Reports the authorization ID in effect for the client of this
session.
|
boolean |
isComplete() |
org.apache.pulsar.common.api.AuthData |
response(org.apache.pulsar.common.api.AuthData token) |
public PulsarSaslServer(Subject subject, Pattern allowedIdsPattern) throws IOException, LoginException
IOExceptionLoginExceptionpublic boolean isComplete()
public String getAuthorizationID() throws IllegalStateException
IllegalStateException - if this authentication session has not completedpublic org.apache.pulsar.common.api.AuthData response(org.apache.pulsar.common.api.AuthData token) throws AuthenticationException
AuthenticationExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.