<commit_before>package blog.auth;

import auth.AuthHelper;
import config.Configs;
import org.apache.http.HttpRequest;
import org.apache.http.protocol.HttpContext;

import java.util.Map;
import java.util.function.BiFunction;

public class AuthHelperExt extends AuthHelper {

    public static final int BLOG_LOGIN = 3;

    public static void addExtAuth() {
        Map<Integer, BiFunction<HttpRequest, HttpContext, Boolean>> authMap = Configs.getConfigs(Configs.AUTH_MAP, Map.class);

<commit_msg>add auth ext<commit_after>package blog.auth;

import auth.AuthHelper;
import config.Configs;
import org.apache.http.HttpRequest;
import org.apache.http.protocol.HttpContext;

import java.util.Map;
import java.util.function.BiFunction;

public class AuthHelperExt extends AuthHelper {

    public static final int BLOG_LOGIN = 3;

    public static void addExtAuth() {
        Map<Integer, BiFunction<HttpRequest, HttpContext, Boolean>> authMap = Configs.getConfigs(Configs.AUTH_MAP, Map.class);

        authMap.put(BLOG_LOGIN, new BlogLoginAuth());
{'fraction_non_alphanumeric': 0.09464627151051626, 'fraction_numerical': 0.0019120458891013384, 'mean_word_length': 5.017241379310345, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7379964', 'n_tokens_mistral': 320, 'n_tokens_neox': 312, 'n_words': 77}