删除无用的接口
This commit is contained in:
-22
@@ -1,22 +0,0 @@
|
|||||||
package com.central.gateway.service;
|
|
||||||
|
|
||||||
import org.springframework.security.core.Authentication;
|
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 请求权限判断service
|
|
||||||
*
|
|
||||||
* @author zlt
|
|
||||||
* @date 2018/10/28
|
|
||||||
*/
|
|
||||||
public interface IPermissionService {
|
|
||||||
/**
|
|
||||||
* 判断请求是否有权限
|
|
||||||
*
|
|
||||||
* @param request HttpServletRequest
|
|
||||||
* @param authentication 认证信息
|
|
||||||
* @return 是否有权限
|
|
||||||
*/
|
|
||||||
boolean hasPermission(HttpServletRequest request, Authentication authentication);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user