added code
This commit is contained in:
@@ -44,7 +44,7 @@ public class SecurityConfig {
|
||||
"/webjars/**",
|
||||
"/error")
|
||||
.permitAll()
|
||||
.requestMatchers("/payment/callback/startPayment","/checkTicketStatus/complaints/")
|
||||
.requestMatchers("/payment/callback/startPayment","/complaints/checkTicketStatus")
|
||||
.permitAll().requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
|
||||
.anyRequest().authenticated())
|
||||
.exceptionHandling(ex -> ex.authenticationEntryPoint(jwtAuthenticationEntryPoint))
|
||||
|
||||
Reference in New Issue
Block a user