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

Rearrange the messages which report missing config #1810

Merged
merged 1 commit into from May 15, 2020
Merged

Rearrange the messages which report missing config #1810

merged 1 commit into from May 15, 2020

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented May 15, 2020

Resolves #1778

Now, 'authentication' and 'authorization' are at the beginning of the messages (after the timestamp and class/thread ID), where they are more visible (and it will not look like one message duplicates the other).

Here is how the new messages look:

2020.05.15 13:07:09 INFO io.helidon.microprofile.security.SecurityCdiExtension Thread[main,5,main]: Authentication provider is missing from security configuration, but security extension for microprofile is enabled (requires providers configuration at key security.providers). Security will not have any valid authentication provider
2020.05.15 13:07:09 INFO io.helidon.microprofile.security.SecurityCdiExtension Thread[main,5,main]: Authorization provider is missing from security configuration, but security extension for microprofile is enabled (requires providers configuration at key security.providers). ABAC provider is configured for authorization.

Signed-off-by: tim.quinn@oracle.com tim.quinn@oracle.com

… and 'authorization' are at the beginning.

Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
@tjquinno tjquinno self-assigned this May 15, 2020
@tjquinno tjquinno merged commit 56697d1 into helidon-io:master May 15, 2020
@tjquinno tjquinno deleted the security-msgs branch May 15, 2020 19:47
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.

Security logging twice (or more) in MP
3 participants