Created
September 22, 2016 02:20
-
-
Save jmcshane/4d85e2d871b8768235e589110c43ae1c to your computer and use it in GitHub Desktop.
Security config for manifest details endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@EnableWebSecurity | |
@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER) | |
public class SecurityConfig extends WebSecurityConfigurerAdapter { | |
@Override | |
protected void configure(HttpSecurity http) throws Exception { | |
http.antMatcher("/**").authorizeRequests().antMatchers("/getManifestDetails").permitAll(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment