Class ServerFormLoginAuthenticationConverter
java.lang.Object
org.springframework.security.web.server.ServerFormLoginAuthenticationConverter
- All Implemented Interfaces:
Function<org.springframework.web.server.ServerWebExchange,
reactor.core.publisher.Mono<Authentication>>
- Direct Known Subclasses:
ServerFormLoginAuthenticationConverter
@Deprecated
public class ServerFormLoginAuthenticationConverter
extends Object
implements Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
Deprecated.
Converts a ServerWebExchange into a UsernamePasswordAuthenticationToken from the form
data HTTP parameters.
- Since:
- 5.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
apply
(org.springframework.web.server.ServerWebExchange exchange) Deprecated.void
setPasswordParameter
(String passwordParameter) Deprecated.The parameter name of the form data to extract the passwordvoid
setUsernameParameter
(String usernameParameter) Deprecated.The parameter name of the form data to extract the username
-
Constructor Details
-
ServerFormLoginAuthenticationConverter
public ServerFormLoginAuthenticationConverter()Deprecated.
-
-
Method Details
-
apply
@Deprecated public reactor.core.publisher.Mono<Authentication> apply(org.springframework.web.server.ServerWebExchange exchange) Deprecated.- Specified by:
apply
in interfaceFunction<org.springframework.web.server.ServerWebExchange,
reactor.core.publisher.Mono<Authentication>>
-
setUsernameParameter
Deprecated.The parameter name of the form data to extract the username- Parameters:
usernameParameter
- the username HTTP parameter
-
setPasswordParameter
Deprecated.The parameter name of the form data to extract the password- Parameters:
passwordParameter
- the password HTTP parameter
-
ServerFormLoginAuthenticationConverter
instead.