@ConditionalOnAppSecurity(value=ENABLED) @ConditionalOnAppType(value={MIXED,RESTFUL,TEMPLATE}) @Configuration @Order(value=-99) public class VerifyCodeConfiguration extends SecurityConfigurerAdapter<VerifyCodeConfiguration>
Modifier and Type | Field and Description |
---|---|
static int |
ORDER_VERIFY_CODE |
COMPARATOR
Constructor and Description |
---|
VerifyCodeConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
last invoked.
|
VerifyCodeFilter |
verifyCodeFilter() |
configure, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getOrder
public static final int ORDER_VERIFY_CODE
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
SecurityConfigurer
configure
in interface SecurityConfigurer<VerifyCodeConfiguration>
configure
in class SecurityConfigurerAdapter<VerifyCodeConfiguration>
http
- http security builder@Bean @ConditionalOnProperty(prefix="app.security", name="verifyCode", havingValue="true") public VerifyCodeFilter verifyCodeFilter()
Copyright © 2017. All rights reserved.