public class ServerHttpBasicAuthenticationConverter extends java.lang.Object implements ServerAuthenticationConverter, java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
ServerWebExchange
to an Authentication
that can be authenticated.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASIC |
Constructor and Description |
---|
ServerHttpBasicAuthenticationConverter() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
apply(org.springframework.web.server.ServerWebExchange exchange)
Deprecated.
|
reactor.core.publisher.Mono<Authentication> |
convert(org.springframework.web.server.ServerWebExchange exchange)
Converts a
ServerWebExchange to an Authentication |
public static final java.lang.String BASIC
public ServerHttpBasicAuthenticationConverter()
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
ServerAuthenticationConverter
ServerWebExchange
to an Authentication
convert
in interface ServerAuthenticationConverter
exchange
- The ServerWebExchange
Mono
representing an Authentication
@Deprecated public reactor.core.publisher.Mono<Authentication> apply(org.springframework.web.server.ServerWebExchange exchange)
convert(ServerWebExchange)
convert(ServerWebExchange)
apply
in interface java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
exchange
- the ServerWebExchange
to useAuthentication