Class AbstractReactiveResourceServerAutoConfiguration
- java.lang.Object
-
- org.bremersee.security.authentication.AbstractReactiveResourceServerAutoConfiguration
-
- Direct Known Subclasses:
ReactiveResourceServerAutoConfiguration
public abstract class AbstractReactiveResourceServerAutoConfiguration extends Object
The abstract reactive resource server security auto configuration.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractReactiveResourceServerAutoConfiguration(org.springframework.core.env.Environment environment, CorsProperties corsProperties, AuthProperties authProperties, org.springframework.beans.factory.ObjectProvider<org.bremersee.security.authentication.JsonPathReactiveJwtConverter> jwtConverterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.core.userdetails.ReactiveUserDetailsService> userDetailsServiceProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoderProvider)
Instantiates a new abstract reactive resource server security auto configuration.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
init()
Init.protected abstract org.springframework.security.config.web.server.ServerHttpSecurity.AuthorizeExchangeSpec
init(org.springframework.security.config.web.server.ServerHttpSecurity http)
Init authorize exchange.protected org.springframework.security.web.server.SecurityWebFilterChain
resourceServerFilterChain(org.springframework.security.config.web.server.ServerHttpSecurity serverHttpSecurity)
Resource server filter chain.
-
-
-
Constructor Detail
-
AbstractReactiveResourceServerAutoConfiguration
protected AbstractReactiveResourceServerAutoConfiguration(org.springframework.core.env.Environment environment, CorsProperties corsProperties, AuthProperties authProperties, org.springframework.beans.factory.ObjectProvider<org.bremersee.security.authentication.JsonPathReactiveJwtConverter> jwtConverterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.core.userdetails.ReactiveUserDetailsService> userDetailsServiceProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoderProvider)
Instantiates a new abstract reactive resource server security auto configuration.- Parameters:
environment
- the environmentcorsProperties
- the cors propertiesauthProperties
- the authentication nad authorization propertiesjwtConverterProvider
- the jwt converter provideruserDetailsServiceProvider
- the user details service providerpasswordEncoderProvider
- the password encoder provider
-
-
Method Detail
-
init
protected void init()
Init.
-
init
protected abstract org.springframework.security.config.web.server.ServerHttpSecurity.AuthorizeExchangeSpec init(org.springframework.security.config.web.server.ServerHttpSecurity http)
Init authorize exchange.- Parameters:
http
- the http- Returns:
- the authorize exchange spec
-
resourceServerFilterChain
protected org.springframework.security.web.server.SecurityWebFilterChain resourceServerFilterChain(org.springframework.security.config.web.server.ServerHttpSecurity serverHttpSecurity)
Resource server filter chain.- Parameters:
serverHttpSecurity
- the server http security- Returns:
- the security web filter chain
-
-