use of com.tremolosecurity.proxy.util.FilterNextSys in project OpenUnison by TremoloSecurity.
the class AzFilter method doFilter.
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
NextSys nextSys = new FilterNextSys(chain);
azSys.doAz(request, response, nextSys);
}
use of com.tremolosecurity.proxy.util.FilterNextSys in project OpenUnison by TremoloSecurity.
the class AuthFilter method doFilter.
@Override
public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException {
// HttpSession session = ((HttpServletRequest) req).getSession(true);
// SharedSession.getSharedSession().registerSession(session);
// HttpSession session = (HttpSession) req.getAttribute(ConfigFilter.AUTOIDM_SESSION);//((HttpServletRequest) req).getSession();
NextSys next = new FilterNextSys(chain);
authMgr.doAuth(req, resp, next);
}
use of com.tremolosecurity.proxy.util.FilterNextSys in project OpenUnison by TremoloSecurity.
the class AuthMechMgr method doFilter.
@Override
public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException {
HttpServletRequest request = (HttpServletRequest) req;
HttpServletResponse response = (HttpServletResponse) resp;
AuthController ac = (AuthController) request.getSession().getAttribute(ProxyConstants.AUTH_CTL);
AuthStep curStep = ac.getCurrentStep();
if (curStep != null) {
curStep.setExecuted(true);
curStep.setSuccess(false);
}
NextSys next = new FilterNextSys(chain);
sys.doAuthMgr(request, response, next, curStep);
}
Aggregations