File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/main/java/br/com/grupo63/techchallenge/payment/config Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 178
178
<exclude >**/br/com/grupo63/techchallenge/payment/api/controller/dto/PaymentStatusResponseDTO.class</exclude >
179
179
<exclude >**/br/com/grupo63/techchallenge/payment/api/controller/dto/QRCodeResponseDTO.class</exclude >
180
180
<exclude >**/br/com/grupo63/techchallenge/payment/gateway/order/dto/OrderDTO.class</exclude >
181
+ <exclude >**/br/com/grupo63/techchallenge/payment/config/JwtFilterConfig.class</exclude >
182
+ <exclude >**/br/com/grupo63/techchallenge/payment/config/JwtService.class</exclude >
181
183
<exclude >**/br/com/grupo63/techchallenge/payment/ServicePaymentApplication.class</exclude >
182
184
</excludes >
183
185
</configuration >
Original file line number Diff line number Diff line change 6
6
import org .springframework .context .annotation .Bean ;
7
7
import org .springframework .context .annotation .Configuration ;
8
8
9
- import java .util .Arrays ;
9
+ import java .util .List ;
10
10
11
11
@ Configuration
12
12
public class JwtFilterConfig {
@@ -18,7 +18,7 @@ public class JwtFilterConfig {
18
18
public FilterRegistrationBean <JwtFilter > jwtFilterFilterRegistrationBean () {
19
19
FilterRegistrationBean <JwtFilter > jwtFilterFilterRegistrationBean = new FilterRegistrationBean <>();
20
20
jwtFilterFilterRegistrationBean .setFilter (new JwtFilter (jwtService ));
21
- jwtFilterFilterRegistrationBean .setUrlPatterns (Arrays . asList ( "/orders" , "/payments/initialize" ));
21
+ jwtFilterFilterRegistrationBean .setUrlPatterns (List . of ( "/payments/initialize" ));
22
22
return jwtFilterFilterRegistrationBean ;
23
23
}
24
24
}
You can’t perform that action at this time.
0 commit comments