@Configuration @Order(value=2147483643) public class BasicAuthConfiguration extends SecurityConfigurerAdapter<BasicAuthConfiguration>
Modifier and Type | Field and Description |
---|---|
static String |
BASIC_AUTHENTICATION_ENTRYPOINT |
static int |
ORDER_BASIC_AUTH |
COMPARATOR
Constructor and Description |
---|
BasicAuthConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.web.AuthenticationEntryPoint |
basicAuthenticationEntryPoint(org.springframework.core.env.Environment environment) |
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
last invoked.
|
configure, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getOrder
public static final int ORDER_BASIC_AUTH
public static final String BASIC_AUTHENTICATION_ENTRYPOINT
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
SecurityConfigurer
configure
in interface SecurityConfigurer<BasicAuthConfiguration>
configure
in class SecurityConfigurerAdapter<BasicAuthConfiguration>
http
- http security builder@Bean(name="basicAuthenticationEntryPoint") @ConditionalOnAppSecurity(value=ENABLED) @ConditionalOnAppType(value={MIXED,RESTFUL,TEMPLATE}) public org.springframework.security.web.AuthenticationEntryPoint basicAuthenticationEntryPoint(org.springframework.core.env.Environment environment)
Copyright © 2017. All rights reserved.