Class ServerHttpBasicAuthenticationConverter
- java.lang.Object
 - 
- org.springframework.security.web.server.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.UseServerHttpBasicAuthenticationConverterinstead.Converts from aServerWebExchangeto anAuthenticationthat can be authenticated.- Since:
 - 5.0
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASICDeprecated. 
- 
Constructor Summary
Constructors Constructor Description ServerHttpBasicAuthenticationConverter()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.voidsetCredentialsCharset(java.nio.charset.Charset credentialsCharset)Deprecated.Sets theCharsetused to decode the Base64-encoded bytes of the basic authentication credentials. 
 - 
 
- 
- 
Field Detail
- 
BASIC
public static final java.lang.String BASIC
Deprecated.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
apply
@Deprecated public reactor.core.publisher.Mono<Authentication> apply(org.springframework.web.server.ServerWebExchange exchange)
Deprecated.- Specified by:
 applyin interfacejava.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 theCharsetused to decode the Base64-encoded bytes of the basic authentication credentials. The default isUTF_8.- Parameters:
 credentialsCharset- theCharsetused to decode the Base64-encoded bytes of the basic authentication credentials- Since:
 - 5.7
 
 
 - 
 
 -