Class AuthenticationService
java.lang.Object
org.apache.pulsar.broker.authentication.AuthenticationService
- All Implemented Interfaces:
Closeable,AutoCloseable
Authentication service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticateHttpRequest(javax.servlet.http.HttpServletRequest request) Deprecated.authenticateHttpRequest(javax.servlet.http.HttpServletRequest request, AuthenticationDataSource authData) voidclose()getAuthenticationProvider(String authMethodName)
-
Constructor Details
-
AuthenticationService
- Throws:
PulsarServerException
-
-
Method Details
-
authenticateHttpRequest
public String authenticateHttpRequest(javax.servlet.http.HttpServletRequest request, AuthenticationDataSource authData) throws AuthenticationException - Throws:
AuthenticationException
-
authenticateHttpRequest
@Deprecated public String authenticateHttpRequest(javax.servlet.http.HttpServletRequest request) throws AuthenticationException Deprecated.Mark this function as deprecated, it is recommended to use a method with the AuthenticationDataSource signature to implement it.- Throws:
AuthenticationException
-
getAuthenticationProvider
-
getAnonymousUserRole
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-