Class ReactiveResourceServerAutoConfiguration

    • Constructor Detail

      • ReactiveResourceServerAutoConfiguration

        public ReactiveResourceServerAutoConfiguration​(org.springframework.core.env.Environment environment,
                                                       CorsProperties corsProperties,
                                                       AuthProperties securityProperties,
                                                       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 reactive resource server security auto configuration.
        Parameters:
        environment - the environment
        corsProperties - the cors properties
        securityProperties - the security properties
        jwtConverterProvider - the jwt converter provider
        userDetailsServiceProvider - the user details service provider
        passwordEncoderProvider - the password encoder provider
    • Method Detail

      • resourceServerFilterChain

        @Bean
        public org.springframework.security.web.server.SecurityWebFilterChain resourceServerFilterChain​(org.springframework.beans.factory.ObjectProvider<org.springframework.security.config.web.server.ServerHttpSecurity> httpProvider)
        Resource server filter chain.
        Parameters:
        httpProvider - the http provider
        Returns:
        the security web filter chain