public class FormLoginAuthenticationConverter extends java.lang.Object implements java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
Constructor and Description |
---|
FormLoginAuthenticationConverter() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
apply(org.springframework.web.server.ServerWebExchange serverWebExchange) |
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 reactor.core.publisher.Mono<Authentication> apply(org.springframework.web.server.ServerWebExchange serverWebExchange)
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