Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(jans-auth): Use wildcard instead of explicit list of jar files to extend AS classpath #8061

Closed
jgomer2001 opened this issue Mar 14, 2024 · 0 comments · Fixed by #8329
Closed
Assignees
Labels
kind-dependencies Pull requests that update a dependency file

Comments

@jgomer2001
Copy link
Contributor

I'm refering to /opt/jans/jetty/jans-auth/webapps/jans-auth.xml

Having to edit this file every time a new jar is added is extra work for admins. They should just copy files to custom/lib and restart. I suggest to use:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">

    <Set name="contextPath">/jans-auth</Set>
    <Set name="war">
        <Property name="jetty.webapps" default="." />/jans-auth.war
    </Set>
    <Set name="extractWAR">true</Set>

<Set name="extraClasspath">./custom/libs/*</Set></Configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants