Index
All Classes and Interfaces|All Packages
A
- ANONYMOUS - Static variable in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Constant that identifies an anonymous request.
- authenticate(AuthData) - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationState
-
Returns null if authentication has completed, and no auth data is required to send back to client.
- authenticateHttpRequest(HttpServletRequest, HttpServletResponse) - Method in class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
-
Passed in request, set response, according to request.
- AuthenticationProviderSasl - Class in org.apache.pulsar.broker.authentication
-
Authentication Provider for SASL (Simple Authentication and Security Layer).
- AuthenticationProviderSasl() - Constructor for class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
- authRoleFromHttpRequest(HttpServletRequest) - Method in class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
-
Returns null if authentication has not completed.
C
- close() - Method in class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
- computeSignature(String) - Method in class org.apache.pulsar.broker.authentication.SaslRoleTokenSigner
-
Returns the signature of a string.
G
- getAuthDataSource() - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationState
- getAuthMethodName() - Method in class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
- getAuthorizationID() - Method in class org.apache.pulsar.broker.authentication.PulsarSaslServer
-
Reports the authorization ID in effect for the client of this session.
- getAuthorizationID() - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationDataSource
- getAuthRole() - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationState
- getExpires() - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Returns the expiration time of the token.
- getName() - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Returns the principal name (this method name comes from the JDK
Principalinterface). - getSession() - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Returns the authentication mechanism of the token.
- getStateId() - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationState
- getUserRole() - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Returns the user name.
H
- hasDataFromCommand() - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationDataSource
I
- initialize(ServiceConfiguration) - Method in class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
- isComplete() - Method in class org.apache.pulsar.broker.authentication.PulsarSaslServer
- isComplete() - Method in class org.apache.pulsar.broker.authentication.SaslAuthenticationState
- isExpired() - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Returns if the token has expired.
N
- newAuthState(AuthData, SocketAddress, SSLSession) - Method in class org.apache.pulsar.broker.authentication.AuthenticationProviderSasl
O
- org.apache.pulsar.broker.authentication - package org.apache.pulsar.broker.authentication
P
- parse(String) - Static method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Parses a string into an authentication token.
- PulsarSaslServer - Class in org.apache.pulsar.broker.authentication
-
Server side Sasl implementation.
- PulsarSaslServer(Subject, Pattern) - Constructor for class org.apache.pulsar.broker.authentication.PulsarSaslServer
R
- response(AuthData) - Method in class org.apache.pulsar.broker.authentication.PulsarSaslServer
S
- SaslAuthenticationDataSource - Class in org.apache.pulsar.broker.authentication
- SaslAuthenticationDataSource(PulsarSaslServer) - Constructor for class org.apache.pulsar.broker.authentication.SaslAuthenticationDataSource
- SaslAuthenticationState - Class in org.apache.pulsar.broker.authentication
-
Interface for authentication state.
- SaslAuthenticationState(PulsarSaslServer) - Constructor for class org.apache.pulsar.broker.authentication.SaslAuthenticationState
- SaslRoleToken - Class in org.apache.pulsar.broker.authentication
- SaslRoleToken(String, String) - Constructor for class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Creates an authentication token.
- SaslRoleToken(String, String, long) - Constructor for class org.apache.pulsar.broker.authentication.SaslRoleToken
- SaslRoleTokenSigner - Class in org.apache.pulsar.broker.authentication
- SaslRoleTokenSigner(byte[]) - Constructor for class org.apache.pulsar.broker.authentication.SaslRoleTokenSigner
-
Creates a SaslRoleTokenSigner instance using the specified secret.
- setExpires(long) - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Sets the expiration of the token.
- sign(String) - Method in class org.apache.pulsar.broker.authentication.SaslRoleTokenSigner
-
Returns a signed string.
T
- toString() - Method in class org.apache.pulsar.broker.authentication.SaslRoleToken
-
Returns the string representation of the token.
V
- verifyAndExtract(String) - Method in class org.apache.pulsar.broker.authentication.SaslRoleTokenSigner
-
Verifies a signed string and extracts the original string.
All Classes and Interfaces|All Packages