mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-08 09:58:56 +08:00
Update MaxKeyMvcConfig.java
This commit is contained in:
parent
6a8b0acb86
commit
3ddfa0fe76
@ -41,6 +41,7 @@ import org.springframework.web.servlet.i18n.LocaleChangeInterceptor;
|
||||
@PropertySource(ConstantsProperties.maxKeyPropertySource)
|
||||
public class MaxKeyMvcConfig implements WebMvcConfigurer {
|
||||
private static final Logger _logger = LoggerFactory.getLogger(MaxKeyMvcConfig.class);
|
||||
|
||||
@Autowired
|
||||
PermissionAdapter permissionAdapter;
|
||||
|
||||
@ -119,6 +120,10 @@ public class MaxKeyMvcConfig implements WebMvcConfigurer {
|
||||
//OAuth
|
||||
.addPathPatterns("/oauth/v20/authorize")
|
||||
.addPathPatterns("/oauth/v20/authorize/*")
|
||||
|
||||
//online ticket Validate
|
||||
.excludePathPatterns("/onlineticket/ticketValidate")
|
||||
.excludePathPatterns("/onlineticket/ticketValidate/*")
|
||||
;
|
||||
|
||||
_logger.debug("add PermissionAdapter");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user