Class AuthenticationDataHttps
java.lang.Object
org.apache.pulsar.broker.authentication.AuthenticationDataHttp
org.apache.pulsar.broker.authentication.AuthenticationDataHttps
- All Implemented Interfaces:
AuthenticationDataSource
-
Field Summary
FieldsFields inherited from class org.apache.pulsar.broker.authentication.AuthenticationDataHttp
remoteAddress, request, subscription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if data from TLS are available.Methods inherited from class org.apache.pulsar.broker.authentication.AuthenticationDataHttp
getHttpAuthType, getHttpHeader, getPeerAddress, getSubscription, hasDataFromHttp, hasDataFromPeer, hasSubscription, setSubscriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.broker.authentication.AuthenticationDataSource
authenticate, getCommandData, hasDataFromCommand
-
Field Details
-
certificates
-
-
Constructor Details
-
AuthenticationDataHttps
public AuthenticationDataHttps(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
hasDataFromTls
public boolean hasDataFromTls()Description copied from interface:AuthenticationDataSourceCheck if data from TLS are available.- Returns:
- true if this authentication data contain data from TLS
-
getTlsCertificates
- Returns:
- a client certificate chain, or null if the data are not available
-