public interface ClientCredentialsData extends ClientData
ClientData which also contains
the password the client used in the CONNECT
message| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<String> |
getPassword()
Returns an
Optional of the clear text password the client used encoded
as UTF-8. |
com.google.common.base.Optional<byte[]> |
getPasswordBytes()
Returns an
Optional of the text password the client used |
getCertificate, getClientId, getConnectionAttributeStore, getDisconnectTimestamp, getInetAddress, getListener, getProxyInformation, getUsername, isAnonymous, isAuthenticated, isBridgecom.google.common.base.Optional<String> getPassword()
Optional of the clear text password the client used encoded
as UTF-8.
Consider using the getPasswordBytes() method instead, since passwords
are not required to be human readable and can be any arbitrary byte arraycom.google.common.base.Optional<byte[]> getPasswordBytes()
Optional of the text password the client usedCopyright © 2013-2018 dc-square GmbH. All Rights Reserved.