Class ServerFormLoginAuthenticationConverter
- java.lang.Object
-
- org.springframework.security.web.server.ServerFormLoginAuthenticationConverter
-
- org.springframework.security.web.server.authentication.ServerFormLoginAuthenticationConverter
-
- All Implemented Interfaces:
java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<org.springframework.security.core.Authentication>>,ServerAuthenticationConverter
public class ServerFormLoginAuthenticationConverter extends ServerFormLoginAuthenticationConverter implements ServerAuthenticationConverter
Converts a ServerWebExchange into a UsernamePasswordAuthenticationToken from the form data HTTP parameters.- Since:
- 5.1
-
-
Constructor Summary
Constructors Constructor Description ServerFormLoginAuthenticationConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.security.core.Authentication>convert(org.springframework.web.server.ServerWebExchange exchange)Converts aServerWebExchangeto anAuthentication-
Methods inherited from class org.springframework.security.web.server.ServerFormLoginAuthenticationConverter
apply, setPasswordParameter, setUsernameParameter
-
-
-
-
Method Detail
-
convert
public reactor.core.publisher.Mono<org.springframework.security.core.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
-
-