Class ServerHttpBasicAuthenticationConverter

java.lang.Object
org.springframework.security.web.server.ServerHttpBasicAuthenticationConverter
All Implemented Interfaces:
Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
Direct Known Subclasses:
ServerHttpBasicAuthenticationConverter

@Deprecated public class ServerHttpBasicAuthenticationConverter extends Object implements 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 Details

  • Constructor Details

    • ServerHttpBasicAuthenticationConverter

      public ServerHttpBasicAuthenticationConverter()
      Deprecated.
  • Method Details

    • apply

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

      public final void setCredentialsCharset(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