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
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 Summary
Constructors 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<org.bremersee.security.authentication.JsonPathJwtConverter> jwtConverterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoderProvider)Instantiates a new abstract resource server security auto configuration.
-
Method Summary
All 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.WebSecurityConfigurerAdapter
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
-
-
-
Constructor Detail
-
AbstractResourceServerAutoConfiguration
protected AbstractResourceServerAutoConfiguration(org.springframework.core.env.Environment environment, org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, AuthProperties authProperties, CorsProperties corsProperties, org.springframework.beans.factory.ObjectProvider<org.bremersee.security.authentication.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 environmentsecurityProperties- the spring propertiesauthProperties- the authentication and authorization propertiescorsProperties- the cors propertiesjwtConverterProvider- the jwt converter providerpasswordEncoderProvider- the password encoder provider
-
-
Method Detail
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
init
protected void init()
Init.
-
init
protected 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
-
-