<commit_before>package org.jboss.shamrock.security;

import java.util.List;

import org.jboss.builder.item.MultiBuildItem;
import org.jboss.shamrock.runtime.RuntimeValue;

/**
 * Information about an authentication mechanism to enable. This is used to call the
 * {@linkplain SecurityTemplate#configureUndertowIdentityManager(RuntimeValue, List)} method to register the auth methods
 * enabled.
 *
 * Custom authentication mechanisms would need to have the {@linkplain io.undertow.servlet.ServletExtension} that
 * registers the {@linkplain io.undertow.security.api.AuthenticationMechanismFactory} for the method.
 */
public final class AuthConfigBuildItem extends MultiBuildItem {
    private AuthConfig authConfig;

    public AuthConfigBuildItem(AuthConfig authConfig) {
        this.authConfig = authConfig;
    }

    public AuthConfig getAuthConfig() {
        return authConfig;
    }
}<commit_msg>Make the authConfig field final.<commit_after>package org.jboss.shamrock.security;

import java.util.List;

import org.jboss.builder.item.MultiBuildItem;
import org.jboss.shamrock.runtime.RuntimeValue;

/**
 * Information about an authentication mechanism to enable. This is used to call the
 * {@linkplain SecurityTemplate#configureUndertowIdentityManager(RuntimeValue, List)} method to register the auth methods
 * enabled.
 *
 * Custom authentication mechanisms would need to have the {@linkplain io.undertow.servlet.ServletExtension} that
 * registers the {@linkplain io.undertow.security.api.AuthenticationMechanismFactory} for the method.
 */
public final class AuthConfigBuildItem extends MultiBuildItem {
    private final AuthConfig authConfig;

    public AuthConfigBuildItem(AuthConfig authConfig) {
        this.authConfig = authConfig;
    }

    public AuthConfig getAuthConfig() {
        return authConfig;
    }
}
{'fraction_non_alphanumeric': 0.07574931880108991, 'fraction_numerical': 0.0, 'mean_word_length': 4.755485893416928, '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': '6351288', 'n_tokens_mistral': 487, 'n_tokens_neox': 469, 'n_words': 141}