Class ReactiveActuatorSecurityAutoConfiguration
- java.lang.Object
-
- org.bremersee.actuator.security.authentication.ReactiveActuatorSecurityAutoConfiguration
-
@ConditionalOnWebApplication(type=REACTIVE) @Conditional(ActuatorAutoSecurityCondition.class) @ConditionalOnClass({org.springframework.security.config.web.server.ServerHttpSecurity.class,org.springframework.security.authentication.ReactiveAuthenticationManager.class,PasswordFlowProperties.class,org.springframework.boot.actuate.info.Info.class}) @EnableConfigurationProperties({org.springframework.boot.autoconfigure.security.SecurityProperties.class,AuthProperties.class,ActuatorAuthProperties.class}) @Configuration public class ReactiveActuatorSecurityAutoConfiguration extends Object
The reactive actuator security auto configuration.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description ReactiveActuatorSecurityAutoConfiguration(AuthProperties authProperties, ActuatorAuthProperties actuatorAuthProperties, org.springframework.beans.factory.ObjectProvider<JsonPathReactiveJwtConverter> jsonPathJwtConverterProvider, org.springframework.beans.factory.ObjectProvider<WebClientAccessTokenRetriever> tokenRetrieverProvider, 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 actuator security auto configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.web.server.SecurityWebFilterChain
actuatorFilterChain(org.springframework.beans.factory.ObjectProvider<org.springframework.security.config.web.server.ServerHttpSecurity> httpProvider)
Actuator filter chain security web filter chain.void
init()
Init.
-
-
-
Constructor Detail
-
ReactiveActuatorSecurityAutoConfiguration
public ReactiveActuatorSecurityAutoConfiguration(AuthProperties authProperties, ActuatorAuthProperties actuatorAuthProperties, org.springframework.beans.factory.ObjectProvider<JsonPathReactiveJwtConverter> jsonPathJwtConverterProvider, org.springframework.beans.factory.ObjectProvider<WebClientAccessTokenRetriever> tokenRetrieverProvider, 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 actuator security auto configuration.- Parameters:
authProperties
- the security propertiesactuatorAuthProperties
- the actuator security propertiesjsonPathJwtConverterProvider
- the json path jwt converter providertokenRetrieverProvider
- the token retriever provideruserDetailsServiceProvider
- the user details service providerpasswordEncoderProvider
- the password encoder provider
-
-
Method Detail
-
init
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()
Init.
-
actuatorFilterChain
@Bean public org.springframework.security.web.server.SecurityWebFilterChain actuatorFilterChain(org.springframework.beans.factory.ObjectProvider<org.springframework.security.config.web.server.ServerHttpSecurity> httpProvider)
Actuator filter chain security web filter chain.- Parameters:
httpProvider
- the http provider- Returns:
- the security web filter chain
-
-