Package org.tailormap.api.security
Class ActuatorSecurityConfiguration
java.lang.Object
org.tailormap.api.security.ActuatorSecurityConfiguration
-
Constructor Summary
ConstructorDescriptionActuatorSecurityConfiguration
(UserRepository userRepository, GroupRepository groupRepository) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
actuatorFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.security.web.csrf.CookieCsrfTokenRepository csrfTokenRepository) void
-
Constructor Details
-
ActuatorSecurityConfiguration
public ActuatorSecurityConfiguration(UserRepository userRepository, GroupRepository groupRepository)
-
-
Method Details
-
createActuatorAccount
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) @Transactional @DependsOn("tailormap-database-initialization") public void createActuatorAccount() -
actuatorFilterChain
@Bean public org.springframework.security.web.SecurityFilterChain actuatorFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.security.web.csrf.CookieCsrfTokenRepository csrfTokenRepository) throws Exception - Throws:
Exception
-