Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions containers/jetty/conf/athenz.properties
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,9 @@ athenz.jetty_home=/home/athenz
# In Athenz this is required to support AWS temporary credentials request when
# the role name contains the / character.
#athenz.decode_ambiguous_uris=true

# Jetty configuration option to dump the configuration after the server
# has started. This is useful for debugging purposes to see the
# configuration that was used to start the server. The dump is
# written to the system log file.
#athenz.dump_after_start=false
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public final class AthenzConsts {
public static final String ATHENZ_PROP_ACCESS_SLF4J_LOGGER = "athenz.access_slf4j_logger";
public static final String ATHENZ_PROP_ACCESS_LOG_DIR = "athenz.access_log_dir";
public static final String ATHENZ_PROP_CONFIG_SOURCE_PATHS = "athenz.config.source_paths";
public static final String ATHENZ_PROP_DUMP_AFTER_START = "athenz.dump_after_start";

public static final String ATHENZ_PROP_KEYSTORE_PASSWORD = "athenz.ssl_key_store_password";
public static final String ATHENZ_PROP_KEYMANAGER_PASSWORD = "athenz.ssl_key_manager_password";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,7 @@ public static void initConfigManager() {

public void run() {
try {
server.setDumpAfterStart(true);

server.setDumpAfterStart(Boolean.parseBoolean(System.getProperty(AthenzConsts.ATHENZ_PROP_DUMP_AFTER_START, "false")));
server.start();

// we're going to set the decodeAmbiguousURIs flag for all our servlet
Expand Down
Loading