@Order(value=2147483644) @Configuration @ConfigurationProperties(prefix="app.security") public class PreAuthConfiguration extends SecurityConfigurerAdapter<PreAuthConfiguration>
Modifier and Type | Field and Description |
---|---|
static int |
ORDER_PRE_AUTH |
COMPARATOR
Constructor and Description |
---|
PreAuthConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
last invoked.
|
cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> |
genericUserCookie() |
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> |
genericUserToken() |
static int |
getMaxAge(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) |
org.springframework.security.authentication.AuthenticationProvider |
preAuthAuthenticationProvider() |
PreAuthTestUserFilter |
preAuthTestUserFilter() |
PreAuthTokenFilter |
preAuthTokenFilter() |
PreAuthTokenProcessingFilter |
preAuthTokenProcessingFilter() |
configure, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getOrder
public static final int ORDER_PRE_AUTH
public static int getMaxAge(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
SecurityConfigurer
configure
in interface SecurityConfigurer<PreAuthConfiguration>
configure
in class SecurityConfigurerAdapter<PreAuthConfiguration>
http
- http security builder@Bean(name="genericUserCookie") public cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> genericUserCookie()
@Bean(name="genericUserToken") public cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> genericUserToken()
public PreAuthTokenFilter preAuthTokenFilter()
public PreAuthTokenProcessingFilter preAuthTokenProcessingFilter()
public PreAuthTestUserFilter preAuthTestUserFilter()
@Bean(name="preAuthAuthenticationProvider") @ConditionalOnAppSecurity(value=ENABLED) public org.springframework.security.authentication.AuthenticationProvider preAuthAuthenticationProvider()
Copyright © 2017. All rights reserved.