Skip to content

Commit

Permalink
Testing if removing SecurityFilterBean fixes 401 issues in pipeline t…
Browse files Browse the repository at this point in the history
…ests.
  • Loading branch information
agile-josiah committed Oct 12, 2023
1 parent 3148e5a commit 87bc520
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/gov/va/vro/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
import org.springframework.core.annotation.Order;
import org.springframework.http.HttpStatus;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
import org.springframework.security.config.http.SessionCreationPolicy;
import org.springframework.security.web.SecurityFilterChain;
import org.springframework.security.web.authentication.HttpStatusEntryPoint;
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;

@Configuration
@EnableWebSecurity
// @EnableWebSecurity
@Order(Ordered.HIGHEST_PRECEDENCE)
@RequiredArgsConstructor
public class SecurityConfig {
Expand Down

0 comments on commit 87bc520

Please sign in to comment.