Class BearerPayloadExchangeConverter
- java.lang.Object
-
- org.springframework.security.rsocket.authentication.BearerPayloadExchangeConverter
-
- All Implemented Interfaces:
PayloadExchangeAuthenticationConverter
public class BearerPayloadExchangeConverter extends java.lang.Object implements PayloadExchangeAuthenticationConverter
Converts from thePayloadExchange
to aBearerTokenAuthenticationToken
by extractingBearerTokenMetadata.BEARER_AUTHENTICATION_MIME_TYPE
from the metadata.- Since:
- 5.2
-
-
Constructor Summary
Constructors Constructor Description BearerPayloadExchangeConverter()
-
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
-
-