| | |
| | | @Override |
| | | public void init(FilterConfig filterConfig) throws ServletException { |
| | | // ... |
| | | logger.info(" initialisiert."); |
| | | } |
| | | |
| | | /* |
| | |
| | | if (userName != null) { |
| | | String servletPath = hr.getServletPath(); |
| | | if (servletPath != null && servletPath.length() > 0) { |
| | | String urlStr = servletPath.substring(HOME_CTX.length()); |
| | | String urlStr = servletPath.substring(1); |
| | | logger.fine("urlStr: " + urlStr); |
| | | if (urlStr.substring(1).startsWith(userName)) { |
| | | if (urlStr.startsWith(userName)) { |
| | | logger.fine("User " + userName + " matches URL and may pass."); |
| | | chain.doFilter(request, response); |
| | | } else { |