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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication> convert(PayloadExchange exchange) Deprecated.
-
Constructor Details
-
BasicAuthenticationPayloadExchangeConverter
public BasicAuthenticationPayloadExchangeConverter()Deprecated.
-
-
Method Details
-
convert
Deprecated.- Specified by:
convertin interfacePayloadExchangeAuthenticationConverter
-
AuthenticationPayloadExchangeConverterinstead