Class AbstractResourceServerAutoConfiguration
- java.lang.Object
- 
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- 
- org.bremersee.security.authentication.AbstractResourceServerAutoConfiguration
 
 
- 
- All Implemented Interfaces:
- org.springframework.core.Ordered,- org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>,- org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
 - Direct Known Subclasses:
- ResourceServerAutoConfiguration,- ResourceServerWithActuatorAutoConfiguration
 
 public abstract class AbstractResourceServerAutoConfiguration extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter implements org.springframework.core.OrderedThe abstract resource server security auto configuration.- Author:
- Christian Bremer
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractResourceServerAutoConfiguration(org.springframework.core.env.Environment environment, org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, AuthProperties authProperties, CorsProperties corsProperties, org.springframework.beans.factory.ObjectProvider<JsonPathJwtConverter> jwtConverterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoderProvider)Instantiates a new abstract resource server security auto configuration.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity)intgetOrder()protected voidinit()Init.protected abstract org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistryinit(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity)Init expression url authorization configurer . expression intercept url registry.- 
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterauthenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractResourceServerAutoConfigurationprotected AbstractResourceServerAutoConfiguration(org.springframework.core.env.Environment environment, org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, AuthProperties authProperties, CorsProperties corsProperties, org.springframework.beans.factory.ObjectProvider<JsonPathJwtConverter> jwtConverterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoderProvider)Instantiates a new abstract resource server security auto configuration.- Parameters:
- environment- the environment
- securityProperties- the spring properties
- authProperties- the authentication and authorization properties
- corsProperties- the cors properties
- jwtConverterProvider- the jwt converter provider
- passwordEncoderProvider- the password encoder provider
 
 
- 
 - 
Method Detail- 
getOrderpublic int getOrder() - Specified by:
- getOrderin interface- org.springframework.core.Ordered
 
 - 
initprotected void init() Init.
 - 
initprotected abstract org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry init(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) throws ExceptionInit expression url authorization configurer . expression intercept url registry.- Parameters:
- httpSecurity- the http security
- Returns:
- the expression url authorization configurer . expression intercept url registry
- Throws:
- Exception- the exception
 
 
- 
 
-