io.leopard.security.allow.AllowService Maven / Gradle / Ivy
package io.leopard.security.allow;
public interface AllowService {
/**
* 根据uri,ip判断是否有权限.
*
* @param requestUri
* @param proxyIp
* @return
*/
boolean isAllow(String requestUri, String proxyIp);
/**
* 跟uri,ip检查是否有权限.
*
* @param requestUri
* @param proxyIp
* @throws DeniedException
*/
void checkAllow(String requestUri, String proxyIp) throws DeniedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy