public class AuthenticationPayloadExchangeConverter extends java.lang.Object implements PayloadExchangeAuthenticationConverter
PayloadExchange
for
Authentication Extension.
For
Simple
a UsernamePasswordAuthenticationToken
is returned. For
Bearer
a BearerTokenAuthenticationToken
is returned.Constructor and Description |
---|
AuthenticationPayloadExchangeConverter() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
convert(PayloadExchange exchange) |
public AuthenticationPayloadExchangeConverter()
public reactor.core.publisher.Mono<Authentication> convert(PayloadExchange exchange)
convert
in interface PayloadExchangeAuthenticationConverter