Class ServerFormLoginAuthenticationConverter

java.lang.Object
org.springframework.security.web.server.ServerFormLoginAuthenticationConverter
org.springframework.security.web.server.authentication.ServerFormLoginAuthenticationConverter
All Implemented Interfaces:
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 Details

    • ServerFormLoginAuthenticationConverter

      public ServerFormLoginAuthenticationConverter()
  • Method Details

    • convert

      public reactor.core.publisher.Mono<org.springframework.security.core.Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
      Description copied from interface: ServerAuthenticationConverter
      Converts a ServerWebExchange to an Authentication
      Specified by:
      convert in interface ServerAuthenticationConverter
      Parameters:
      exchange - The ServerWebExchange
      Returns:
      A Mono representing an Authentication