public class ServerFormLoginAuthenticationConverter extends java.lang.Object implements ServerAuthenticationConverter, java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
| Constructor and Description |
|---|
ServerFormLoginAuthenticationConverter() |
| 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 |
void |
setPasswordParameter(java.lang.String passwordParameter)
The parameter name of the form data to extract the password
|
void |
setUsernameParameter(java.lang.String usernameParameter)
The parameter name of the form data to extract the username
|
public ServerFormLoginAuthenticationConverter()
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
ServerAuthenticationConverterServerWebExchange to an Authenticationconvert in interface ServerAuthenticationConverterexchange - The ServerWebExchangeMono 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 useAuthenticationpublic void setUsernameParameter(java.lang.String usernameParameter)
usernameParameter - the username HTTP parameterpublic void setPasswordParameter(java.lang.String passwordParameter)
passwordParameter - the password HTTP parameter