Class ServerFormLoginAuthenticationConverter

  • All Implemented Interfaces:
    java.util.function.Function<org.springframework.web.server.ServerWebExchange,​reactor.core.publisher.Mono<Authentication>>
    Direct Known Subclasses:
    ServerFormLoginAuthenticationConverter

    @Deprecated
    public class ServerFormLoginAuthenticationConverter
    extends java.lang.Object
    implements java.util.function.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
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<Authentication> apply​(org.springframework.web.server.ServerWebExchange exchange)
      Deprecated.
      void setPasswordParameter​(java.lang.String passwordParameter)
      Deprecated.
      The parameter name of the form data to extract the password
      void setUsernameParameter​(java.lang.String usernameParameter)
      Deprecated.
      The parameter name of the form data to extract the username
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • ServerFormLoginAuthenticationConverter

        public ServerFormLoginAuthenticationConverter()
        Deprecated.
    • Method Detail

      • apply

        @Deprecated
        public reactor.core.publisher.Mono<Authentication> apply​(org.springframework.web.server.ServerWebExchange exchange)
        Deprecated.
        Specified by:
        apply in interface java.util.function.Function<org.springframework.web.server.ServerWebExchange,​reactor.core.publisher.Mono<Authentication>>
      • setUsernameParameter

        public void setUsernameParameter​(java.lang.String usernameParameter)
        Deprecated.
        The parameter name of the form data to extract the username
        Parameters:
        usernameParameter - the username HTTP parameter
      • setPasswordParameter

        public void setPasswordParameter​(java.lang.String passwordParameter)
        Deprecated.
        The parameter name of the form data to extract the password
        Parameters:
        passwordParameter - the password HTTP parameter