Class BasicAuthenticationPayloadExchangeConverter
java.lang.Object
org.springframework.security.rsocket.authentication.BasicAuthenticationPayloadExchangeConverter
- All Implemented Interfaces:
PayloadExchangeAuthenticationConverter
public class BasicAuthenticationPayloadExchangeConverter
extends Object
implements PayloadExchangeAuthenticationConverter
Converts from the
PayloadExchange
to a
UsernamePasswordAuthenticationToken
by extracting
UsernamePasswordMetadata.BASIC_AUTHENTICATION_MIME_TYPE
from the metadata.- Since:
- 5.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
convert
(PayloadExchange exchange)
-
Constructor Details
-
BasicAuthenticationPayloadExchangeConverter
public BasicAuthenticationPayloadExchangeConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfacePayloadExchangeAuthenticationConverter
-