<commit_before>package com.tradeaway.login;

public class CustomBasicAuthenticationEntryPoint {
}
<commit_msg>[Ajay/ Naveen] Login Using Spring Security - form login - Fix missed files<commit_after>package com.tradeaway.login;

import org.springframework.context.annotation.Scope;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.stereotype.Component;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@Component
@Scope("prototype")
public class CustomBasicAuthenticationEntryPoint implements AuthenticationEntryPoint {
    @Override
    public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException) throws IOException, ServletException {
        response.sendError(401,"Unauthorized");
    }
}

{'fraction_non_alphanumeric': 0.07708119218910586, 'fraction_numerical': 0.003083247687564234, 'mean_word_length': 7.184873949579832, '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': '4942331', 'n_tokens_mistral': 235, 'n_tokens_neox': 231, 'n_words': 53}