Class HttpBasicServerAuthenticationEntryPoint
- java.lang.Object
- 
- org.springframework.security.web.server.authentication.HttpBasicServerAuthenticationEntryPoint
 
- 
- All Implemented Interfaces:
- ServerAuthenticationEntryPoint
 
 public class HttpBasicServerAuthenticationEntryPoint extends java.lang.Object implements ServerAuthenticationEntryPoint Prompts a user for HTTP Basic authentication.- Since:
- 5.0
 
- 
- 
Constructor SummaryConstructors Constructor Description HttpBasicServerAuthenticationEntryPoint()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex)Initiates the authentication flowvoidsetRealm(java.lang.String realm)Sets the realm to be used
 
- 
- 
- 
Method Detail- 
commencepublic reactor.core.publisher.Mono<java.lang.Void> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex)Description copied from interface:ServerAuthenticationEntryPointInitiates the authentication flow- Specified by:
- commencein interface- ServerAuthenticationEntryPoint
- Returns:
- Mono<Void>to indicate when the request for authentication is complete
 
 - 
setRealmpublic void setRealm(java.lang.String realm) Sets the realm to be used- Parameters:
- realm- the realm. Default is "Realm"
 
 
- 
 
-