Class UsernamePasswordMetadata
- java.lang.Object
-
- org.springframework.security.rsocket.metadata.UsernamePasswordMetadata
-
public final class UsernamePasswordMetadata extends java.lang.Object
Represents a username and password that have been encoded into aPayload.metadata()
.- Since:
- 5.2
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description UsernamePasswordMetadata(java.lang.String username, java.lang.String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPassword()
java.lang.String
getUsername()
-
-
-
Field Detail
-
BASIC_AUTHENTICATION_MIME_TYPE
public static final org.springframework.util.MimeType BASIC_AUTHENTICATION_MIME_TYPE
Represents a username password which is encoded as${username-bytes-length}${username-bytes}${password-bytes}
. See rsocket/rsocket#272
-
-