Class AuthenticationPayloadExchangeConverter
java.lang.Object
org.springframework.security.rsocket.authentication.AuthenticationPayloadExchangeConverter
- All Implemented Interfaces:
PayloadExchangeAuthenticationConverter
public class AuthenticationPayloadExchangeConverter
extends Object
implements PayloadExchangeAuthenticationConverter
Converts from the
PayloadExchange for Authentication
Extension. For Simple
a UsernamePasswordAuthenticationToken is returned. For Bearer
a BearerTokenAuthenticationToken is returned.- Since:
- 5.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>convert(PayloadExchange exchange)
-
Constructor Details
-
AuthenticationPayloadExchangeConverter
public AuthenticationPayloadExchangeConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfacePayloadExchangeAuthenticationConverter
-