public final class UsernamePasswordMetadata
extends java.lang.Object
Payload.metadata()
.Modifier and Type | Field and Description |
---|---|
static org.springframework.util.MimeType |
BASIC_AUTHENTICATION_MIME_TYPE
Deprecated.
Basic did not evolve into the standard. Instead use Simple
Authentication
MimeTypeUtils.parseMimeType(WellKnownMimeType.MESSAGE_RSOCKET_AUTHENTICATION.getString())
|
Constructor and Description |
---|
UsernamePasswordMetadata(java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword() |
java.lang.String |
getUsername() |
@Deprecated public static final org.springframework.util.MimeType BASIC_AUTHENTICATION_MIME_TYPE
${username-bytes-length}${username-bytes}${password-bytes}
.
See rsocket/rsocket#272