Class ServerHttpBasicAuthenticationConverter
java.lang.Object
org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
org.springframework.security.web.server.authentication.ServerHttpBasicAuthenticationConverter
- All Implemented Interfaces:
Function<org.springframework.web.server.ServerWebExchange,,reactor.core.publisher.Mono<Authentication>> ServerAuthenticationConverter
public class ServerHttpBasicAuthenticationConverter
extends ServerHttpBasicAuthenticationConverter
implements ServerAuthenticationConverter
Converts from a
ServerWebExchange to an Authentication that can be
authenticated.- Since:
- 5.1
-
Field Summary
Fields inherited from class org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
BASIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>convert(org.springframework.web.server.ServerWebExchange exchange) Converts aServerWebExchangeto anAuthenticationMethods inherited from class org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
apply, setCredentialsCharset
-
Constructor Details
-
ServerHttpBasicAuthenticationConverter
public ServerHttpBasicAuthenticationConverter()
-
-
Method Details
-
convert
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerAuthenticationConverterConverts aServerWebExchangeto anAuthentication- Specified by:
convertin interfaceServerAuthenticationConverter- Parameters:
exchange- TheServerWebExchange- Returns:
- A
Monorepresenting anAuthentication
-