Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

Changes to ensure that the config file is read only once.#111

Open
gabbydotCMS wants to merge 2 commits into
4.0-4.3.xfrom
ethode/bypass-if-no-configuration
Open

Changes to ensure that the config file is read only once.#111
gabbydotCMS wants to merge 2 commits into
4.0-4.3.xfrom
ethode/bypass-if-no-configuration

Conversation

@gabbydotCMS

Copy link
Copy Markdown
Contributor

Changes related to issue #109

public static final String DEFAULT_SAML_CONFIG = "defaultSamlConfig";
public static final String DISABLE_SAML_SITES = "disabledSamlSites";
// Start with TRUE to get at least on read.
private static Boolean samlConfigured = Boolean.TRUE;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if these variables are share, they should be mark as a "volatile"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdotcms @gabbydotCMS Would you like us to mark these as volatile?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think AtomicBoolean would be more accurate for them

@gabbydotCMS gabbydotCMS reopened this Aug 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants