public class AuthenticationDataCommand extends Object implements AuthenticationDataSource
| Modifier and Type | Field and Description |
|---|---|
protected String |
authData |
protected SocketAddress |
remoteAddress |
protected SSLSession |
sslSession |
| Constructor and Description |
|---|
AuthenticationDataCommand(String authData) |
AuthenticationDataCommand(String authData,
SocketAddress remoteAddress,
SSLSession sslSession) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandData() |
SocketAddress |
getPeerAddress() |
Certificate[] |
getTlsCertificates() |
boolean |
hasDataFromCommand()
Check if data from Pulsar protocol are available.
|
boolean |
hasDataFromPeer()
Check if data from peer are available.
|
boolean |
hasDataFromTls()
Check if data from TLS are available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getHttpAuthType, getHttpHeader, getSubscription, hasDataFromHttp, hasSubscription, setSubscriptionprotected final String authData
protected final SocketAddress remoteAddress
protected final SSLSession sslSession
public AuthenticationDataCommand(String authData)
public AuthenticationDataCommand(String authData, SocketAddress remoteAddress, SSLSession sslSession)
public boolean hasDataFromCommand()
AuthenticationDataSourcehasDataFromCommand in interface AuthenticationDataSourcepublic String getCommandData()
getCommandData in interface AuthenticationDataSourcepublic boolean hasDataFromPeer()
AuthenticationDataSourcehasDataFromPeer in interface AuthenticationDataSourcepublic SocketAddress getPeerAddress()
getPeerAddress in interface AuthenticationDataSourceString containing the IP address of the clientpublic boolean hasDataFromTls()
AuthenticationDataSourcehasDataFromTls in interface AuthenticationDataSourcepublic Certificate[] getTlsCertificates()
getTlsCertificates in interface AuthenticationDataSourceCopyright © 2017–2022 Apache Software Foundation. All rights reserved.