Package | Description |
---|---|
org.springframework.security.config.annotation.web.builders | |
org.springframework.security.config.annotation.web.configurers |
Modifier and Type | Method and Description |
---|---|
HttpBasicConfigurer<HttpSecurity> |
HttpSecurity.httpBasic()
Configures HTTP Basic authentication.
|
Modifier and Type | Method and Description |
---|---|
HttpBasicConfigurer<B> |
HttpBasicConfigurer.authenticationDetailsSource(AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,?> authenticationDetailsSource)
Specifies a custom
AuthenticationDetailsSource to use for basic
authentication. |
HttpBasicConfigurer<B> |
HttpBasicConfigurer.authenticationEntryPoint(AuthenticationEntryPoint authenticationEntryPoint)
The
AuthenticationEntryPoint to be populated on
BasicAuthenticationFilter in the event that authentication fails. |
HttpBasicConfigurer<B> |
HttpBasicConfigurer.realmName(String realmName)
Allows easily changing the realm, but leaving the remaining defaults in
place.
|
Copyright © 2019. All rights reserved.