public class ServerFormLoginAuthenticationConverter extends java.lang.Object implements 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) |
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> apply(org.springframework.web.server.ServerWebExchange exchange)
apply
in interface java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
public void setUsernameParameter(java.lang.String usernameParameter)
usernameParameter
- the username HTTP parameterpublic void setPasswordParameter(java.lang.String passwordParameter)
passwordParameter
- the password HTTP parameter