Skip to content

Add WARN log if provided Couchbase password offends default policy#936

Merged
kiview merged 2 commits intomasterfrom
couchbase-password
Oct 28, 2018
Merged

Add WARN log if provided Couchbase password offends default policy#936
kiview merged 2 commits intomasterfrom
couchbase-password

Conversation

@kiview
Copy link
Member

@kiview kiview commented Oct 26, 2018

See #934

TBH I was not sure how to proceed at this point. We have a similar password policy thing in #885.
However, throwing an exception seems to harsh, since people might configure all kind of password policies in their image (I assume) and we should still support it if possible.

@kiview kiview requested review from bsideup and rnorth as code owners October 26, 2018 13:27
Copy link
Member

@rnorth rnorth left a comment

Choose a reason for hiding this comment

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

I think this looks fine, really. It provides potentially useful information without breaking things with an exception if people have changed their policy.

👍 to merge if you could maybe tweak the warning message string 😄

…ouchbaseContainer.java

Co-Authored-By: kiview <kiview@users.noreply.github.com>
@kiview kiview added this to the next milestone Oct 28, 2018
@kiview kiview merged commit eaa21aa into master Oct 28, 2018
@delete-merged-branch delete-merged-branch bot deleted the couchbase-password branch October 28, 2018 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments