Class ServerHttpBasicAuthenticationConverter
- java.lang.Object
-
- org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
-
- org.springframework.security.web.server.authentication.ServerHttpBasicAuthenticationConverter
-
- All Implemented Interfaces:
java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
,ServerAuthenticationConverter
public class ServerHttpBasicAuthenticationConverter extends ServerHttpBasicAuthenticationConverter implements ServerAuthenticationConverter
Converts from aServerWebExchange
to anAuthentication
that can be authenticated.- Since:
- 5.1
-
-
Field Summary
-
Fields inherited from class org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
BASIC
-
-
Constructor Summary
Constructors Constructor Description ServerHttpBasicAuthenticationConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>
convert(org.springframework.web.server.ServerWebExchange exchange)
Converts aServerWebExchange
to anAuthentication
-
Methods inherited from class org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
apply
-
-
-
-
Method Detail
-
convert
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
Description copied from interface:ServerAuthenticationConverter
Converts aServerWebExchange
to anAuthentication
- Specified by:
convert
in interfaceServerAuthenticationConverter
- Parameters:
exchange
- TheServerWebExchange
- Returns:
- A
Mono
representing anAuthentication
-
-