Class UsernamePasswordMetadata
java.lang.Object
org.springframework.security.rsocket.metadata.UsernamePasswordMetadata
Represents a username and password that have been encoded into a
Payload.metadata()
.- Since:
- 5.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.springframework.util.MimeType
Deprecated.Basic did not evolve into the standard. -
Constructor Summary
-
Method Summary
-
Field Details
-
BASIC_AUTHENTICATION_MIME_TYPE
Deprecated.Basic did not evolve into the standard. Instead use Simple Authentication MimeTypeUtils.parseMimeType(WellKnownMimeType.MESSAGE_RSOCKET_AUTHENTICATION.getString())Represents a username password which is encoded as${username-bytes-length}${username-bytes}${password-bytes}
. See rsocket/rsocket#272
-
-
Constructor Details
-
UsernamePasswordMetadata
-
-
Method Details
-
getUsername
-
getPassword
-