Class ServerHttpBasicAuthenticationConverter

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

    @Deprecated
    public class ServerHttpBasicAuthenticationConverter
    extends java.lang.Object
    implements java.util.function.Function<org.springframework.web.server.ServerWebExchange,​reactor.core.publisher.Mono<Authentication>>
    Deprecated.
    Converts from a ServerWebExchange to an Authentication that can be authenticated.
    Since:
    5.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BASIC
      Deprecated.
       
    • 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 setCredentialsCharset​(java.nio.charset.Charset credentialsCharset)
      Deprecated.
      Sets the Charset used to decode the Base64-encoded bytes of the basic authentication credentials.
      • 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

      • ServerHttpBasicAuthenticationConverter

        public ServerHttpBasicAuthenticationConverter()
        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>>
      • setCredentialsCharset

        public final void setCredentialsCharset​(java.nio.charset.Charset credentialsCharset)
        Deprecated.
        Sets the Charset used to decode the Base64-encoded bytes of the basic authentication credentials. The default is UTF_8.
        Parameters:
        credentialsCharset - the Charset used to decode the Base64-encoded bytes of the basic authentication credentials
        Since:
        5.7