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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
apply
(org.springframework.web.server.ServerWebExchange exchange) Deprecated.final void
setCredentialsCharset
(Charset credentialsCharset) Deprecated.Sets theCharset
used 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:
apply
in interfaceFunction<org.springframework.web.server.ServerWebExchange,
reactor.core.publisher.Mono<Authentication>>
-
setCredentialsCharset
Deprecated.Sets theCharset
used to decode the Base64-encoded bytes of the basic authentication credentials. The default isUTF_8
.- Parameters:
credentialsCharset
- theCharset
used to decode the Base64-encoded bytes of the basic authentication credentials- Since:
- 5.7
-
ServerHttpBasicAuthenticationConverter
instead.