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.UseServerHttpBasicAuthenticationConverter
instead.Converts from aServerWebExchange
to anAuthentication
that can be authenticated.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BASIC
Deprecated.
-
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.void
setCredentialsCharset(java.nio.charset.Charset credentialsCharset)
Deprecated.Sets theCharset
used 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:
apply
in 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 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
-
-