<commit_before>#!/bin/sh

JBOSS_HOME="${JBOSS_HOME:-/usr/share/jboss-as}"
export CLASSPATH=""
export JAVA_MODULEPATH="${JBOSS_HOME}/modules"

# Load the prolog, not during installation
[ -z "${ENGINE_CONFIG_IGNORE}" ] && \
	. "$(dirname "$(readlink -f "$0")")"/engine-prolog.sh

die () {
    printf >&2 "$@"
    exit 1
}

usage () {
        printf "engine-encrypt-passwd.sh - Generate a an encrypted password from the plain-text password given.\n"
        printf "Usage: \n"
        printf "engine-encrypt-passwd.sh [Plain-Text-Password]\n"
        printf "Where:\n"
        printf "Plain-Text-Password = The password to encrypt in plain text.\n"
        return 0
}

if [ ! "$#" -eq 1 ]; then
    usage
    die "Error: wrong argument number: $#.\n"
fi

exec "${JAVA_HOME}/bin/java" \
  -jar "${JBOSS_HOME}/jboss-modules.jar" \
  -Djboss.modules.write-indexes=false \
  -dependencies org.picketbox \
  -class org.picketbox.datasource.security.SecureIdentityLoginModule \
  "$@"
<commit_msg>packaging: Fix the location of -Djboss.modules.write-indexes<commit_after>#!/bin/sh

JBOSS_HOME="${JBOSS_HOME:-/usr/share/jboss-as}"
export CLASSPATH=""
export JAVA_MODULEPATH="${JBOSS_HOME}/modules"

# Load the prolog, not during installation
[ -z "${ENGINE_CONFIG_IGNORE}" ] && \
	. "$(dirname "$(readlink -f "$0")")"/engine-prolog.sh

die () {
    printf >&2 "$@"
    exit 1
}

usage () {
        printf "engine-encrypt-passwd.sh - Generate a an encrypted password from the plain-text password given.\n"
        printf "Usage: \n"
        printf "engine-encrypt-passwd.sh [Plain-Text-Password]\n"
        printf "Where:\n"
        printf "Plain-Text-Password = The password to encrypt in plain text.\n"
        return 0
}

if [ ! "$#" -eq 1 ]; then
    usage
    die "Error: wrong argument number: $#.\n"
fi

exec "${JAVA_HOME}/bin/java" \
  -Djboss.modules.write-indexes=false \
  -jar "${JBOSS_HOME}/jboss-modules.jar" \
  -dependencies org.picketbox \
  -class org.picketbox.datasource.security.SecureIdentityLoginModule \
  "$@"

{'fraction_non_alphanumeric': 0.16246913580246913, 'fraction_numerical': 0.0049382716049382715, 'mean_word_length': 3.1178861788617884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3954503', 'n_tokens_mistral': 749, 'n_tokens_neox': 703, 'n_words': 157}