Class BasicAuthenticationPayloadExchangeConverter
- java.lang.Object
-
- org.springframework.security.rsocket.authentication.BasicAuthenticationPayloadExchangeConverter
-
- All Implemented Interfaces:
PayloadExchangeAuthenticationConverter
public class BasicAuthenticationPayloadExchangeConverter extends java.lang.Object implements PayloadExchangeAuthenticationConverter
Converts from thePayloadExchange
to aUsernamePasswordAuthenticationToken
by extractingUsernamePasswordMetadata.BASIC_AUTHENTICATION_MIME_TYPE
from the metadata.- Since:
- 5.2
-
-
Constructor Summary
Constructors Constructor Description BasicAuthenticationPayloadExchangeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>
convert(PayloadExchange exchange)
-
-
-
Method Detail
-
convert
public reactor.core.publisher.Mono<Authentication> convert(PayloadExchange exchange)
- Specified by:
convert
in interfacePayloadExchangeAuthenticationConverter
-
-