Class AbstractReactiveResourceServerAutoConfiguration

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractReactiveResourceServerAutoConfiguration​(org.springframework.core.env.Environment environment, CorsProperties corsProperties, AuthProperties authProperties, org.springframework.beans.factory.ObjectProvider<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.
    • Constructor Detail

      • AbstractReactiveResourceServerAutoConfiguration

        protected AbstractReactiveResourceServerAutoConfiguration​(org.springframework.core.env.Environment environment,
                                                                  CorsProperties corsProperties,
                                                                  AuthProperties authProperties,
                                                                  org.springframework.beans.factory.ObjectProvider<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 environment
        corsProperties - the cors properties
        authProperties - the authentication nad authorization properties
        jwtConverterProvider - the jwt converter provider
        userDetailsServiceProvider - the user details service provider
        passwordEncoderProvider - 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