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

APPSERV-54 Print a Warning if No Encryption Key Present #4542

Merged
merged 4 commits into from
Mar 3, 2020

Conversation

Pandrex247
Copy link
Member

Description

Prints a warning on the command line and in the admin console when enabling data grid encryption when a key can't be found.

Testing

From a clean domain, simply run set-hazelcast-configuration --encryptdatagrid true and you should get a warning.
You should get a similar warning when attempting to do the same from the admin console: Domain > Data Grid.

New tests

New asadmin test added to existing SetHazelcastConfigurationTest in payara-samples.
Checks that a warning is given when enabling datagrid encryption without generating a key.

Notes for Reviewers

Touching such a fundamental method in the admin console (updateEntity) worries me a bit, as this can easily ripple outwards in unforeseen ways. I've poked around the admin console and haven't managed to make it throw a wobbly but I can't poke everything.

@Pandrex247 Pandrex247 requested a review from jbee March 2, 2020 12:22
@Pandrex247
Copy link
Member Author

Jenkins test please

Copy link
Contributor

@jbee jbee left a comment

Choose a reason for hiding this comment

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

👍

@Pandrex247 Pandrex247 merged commit f8441ee into payara:master Mar 3, 2020
@Pandrex247 Pandrex247 deleted the APPSERV-54 branch March 3, 2020 09:25
Pandrex247 added a commit to Pandrex247/Payara that referenced this pull request Jun 15, 2020
APPSERV-54 Print a Warning if No Encryption Key Present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants