<commit_before>package se.kth.bbc.security.ua.authz;

import java.io.IOException;
import javax.ejb.EJB;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import se.kth.bbc.security.ua.UserManager;
import se.kth.bbc.security.ua.authz.PolicyDecisionPoint;
import se.kth.hopsworks.user.model.Users;

public class LoginFilter extends PolicyDecisionPoint implements Filter {

  @EJB
  private UserManager uManager;


  private String urlList;

  @Override
  public void doFilter(ServletRequest req, ServletResponse res,
          FilterChain chain) throws IOException, ServletException {
    HttpServletRequest request = (HttpServletRequest) req;
    HttpServletResponse response = (HttpServletResponse) res;<commit_msg>removed unused header<commit_after>package se.kth.bbc.security.ua.authz;

import java.io.IOException;
import javax.ejb.EJB;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import se.kth.bbc.security.ua.UserManager;
import se.kth.hopsworks.user.model.Users;

public class LoginFilter extends PolicyDecisionPoint implements Filter {

  @EJB
  private UserManager uManager;


  private String urlList;

  @Override
  public void doFilter(ServletRequest req, ServletResponse res,
          FilterChain chain) throws IOException, ServletException {
    HttpServletRequest request = (HttpServletRequest) req;
    HttpServletResponse response = (HttpServletResponse) res;
{'fraction_non_alphanumeric': 0.07985193019566367, 'fraction_numerical': 0.0, 'mean_word_length': 5.781362007168458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3832619', 'n_tokens_mistral': 527, 'n_tokens_neox': 522, 'n_words': 123}