public final class BearerTokenServerAuthenticationEntryPoint
extends java.lang.Object
implements org.springframework.security.web.server.ServerAuthenticationEntryPoint
AuthenticationEntryPoint implementation used to commence authentication of
protected resource requests using BearerTokenAuthenticationFilter.
Uses information provided by BearerTokenError to set HTTP response status code
and populate WWW-Authenticate HTTP header.
BearerTokenError,
RFC 6750
Section 3: The WWW-Authenticate Response Header Field| Constructor and Description |
|---|
BearerTokenServerAuthenticationEntryPoint() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
commence(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.security.core.AuthenticationException authException) |
void |
setRealmName(java.lang.String realmName) |
public BearerTokenServerAuthenticationEntryPoint()
public void setRealmName(java.lang.String realmName)
public reactor.core.publisher.Mono<java.lang.Void> commence(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.security.core.AuthenticationException authException)
commence in interface org.springframework.security.web.server.ServerAuthenticationEntryPoint