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
Represents a username password which is encoded as
${username-bytes-length}${username-bytes}${password-bytes} . |
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() |
public static final org.springframework.util.MimeType BASIC_AUTHENTICATION_MIME_TYPE
${username-bytes-length}${username-bytes}${password-bytes}
.
See rsocket/rsocket#272