package com.qianwen.core.secure.handler;
|
|
import java.util.List;
|
import com.qianwen.core.secure.props.AuthSecure;
|
import com.qianwen.core.secure.props.BasicSecure;
|
import com.qianwen.core.secure.props.SignSecure;
|
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
|
|
|
public interface ISecureHandler {
|
HandlerInterceptorAdapter tokenInterceptor();
|
|
HandlerInterceptorAdapter authInterceptor(List<AuthSecure> authSecures);
|
|
HandlerInterceptorAdapter basicInterceptor(List<BasicSecure> basicSecures);
|
|
HandlerInterceptorAdapter signInterceptor(List<SignSecure> signSecures);
|
|
HandlerInterceptorAdapter clientInterceptor(String clientId);
|
}
|