Replace depreciated configuration api
@@ -3,10 +3,11 @@ package org.owasp.wrongsecrets;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
+import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
@Configuration
@Order(2)
-public class ActuatorecurityConfiguration extends HerokuWebSecurityConfig {
+public class ActuatorecurityConfiguration extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
