Open ScGPS opened 4 years ago
修改WEB不要密码就能访问的功能 cd ~/App/zkui/src/main/java/com/deem/zkui/filter/ cp AuthFilter.java AuthFilter.java.bak vi AuthFilter.java 把 public void doFilter 这个函数改成 @Override public void doFilter(ServletRequest req, ServletResponse res, FilterChain fc) throws IOException, ServletException { HttpServletRequest request = (HttpServletRequest) req; HttpServletResponse response = (HttpServletResponse) res;
fc.doFilter(req, res); }
保存退出
pkill -9 -f "zkui-2.0-SNAPSHOT-jar-with-dependencies.jar" cd ~/App/zkui/ mvn clean install
修改WEB不要密码就能访问的功能 cd ~/App/zkui/src/main/java/com/deem/zkui/filter/ cp AuthFilter.java AuthFilter.java.bak vi AuthFilter.java 把 public void doFilter 这个函数改成 @Override public void doFilter(ServletRequest req, ServletResponse res, FilterChain fc) throws IOException, ServletException { HttpServletRequest request = (HttpServletRequest) req; HttpServletResponse response = (HttpServletResponse) res;
保存退出
pkill -9 -f "zkui-2.0-SNAPSHOT-jar-with-dependencies.jar" cd ~/App/zkui/ mvn clean install