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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>apply(org.springframework.web.server.ServerWebExchange exchange) Deprecated.final voidsetCredentialsCharset(Charset credentialsCharset) Deprecated.Sets theCharsetused to decode the Base64-encoded bytes of the basic authentication credentials.
-
Field Details
-
BASIC
Deprecated.- See Also:
-
-
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:
applyin interfaceFunction<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>>
-
setCredentialsCharset
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
-
ServerHttpBasicAuthenticationConverterinstead.