Class BasicAuthenticationPayloadExchangeConverter

java.lang.Object
org.springframework.security.rsocket.authentication.BasicAuthenticationPayloadExchangeConverter
All Implemented Interfaces:
PayloadExchangeAuthenticationConverter

@Deprecated public class BasicAuthenticationPayloadExchangeConverter extends Object implements PayloadExchangeAuthenticationConverter
Deprecated.
Converts from a PayloadExchange that contains message/x.rsocket.authentication.basic.v0 metadata to a UsernamePasswordAuthenticationToken.

The metadata is encoded as ${username-bytes-length}${username-bytes}${password-bytes} where username-bytes-length is a 4-byte big-endian integer. See rsocket/rsocket#272.

Since:
5.2