Class AuthenticationPayloadExchangeConverter
- java.lang.Object
-
- org.springframework.security.rsocket.authentication.AuthenticationPayloadExchangeConverter
-
- All Implemented Interfaces:
PayloadExchangeAuthenticationConverter
public class AuthenticationPayloadExchangeConverter extends java.lang.Object implements PayloadExchangeAuthenticationConverter
Converts from thePayloadExchange
for Authentication Extension. For Simple aUsernamePasswordAuthenticationToken
is returned. For Bearer aBearerTokenAuthenticationToken
is returned.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description AuthenticationPayloadExchangeConverter()
-
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
-
-