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

QUARKUS-1676 Add tests for 'MAIF - mTLS with OIDC Server' #604

Merged
merged 1 commit into from
Apr 20, 2022
Merged

QUARKUS-1676 Add tests for 'MAIF - mTLS with OIDC Server' #604

merged 1 commit into from
Apr 20, 2022

Conversation

michalvavrik
Copy link
Member

This commit add tests for a mutual TLS with OIDC as suggested by a test plan. There are tests for JKS/PKCS12 keystore types, a fail test when a keystore file is completely missing, test with Keycloak and RH SSO 7.3/7.5 in role of a OIDC server and test with keystore file whose file type can't be detected by a file extension.

@pjgg pjgg self-requested a review April 19, 2022 07:31
Copy link
Contributor

@pjgg pjgg left a comment

Choose a reason for hiding this comment

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

Missing add a reference in project README.md, that explains what this module does. You could use as an example some of the previous modules ex: security/basic

Some of the test/resources certificates already exist in main/resource folder, so you don't need to duplicate it, just use main/resource certificates.

This commit add tests for a mutual TLS with OIDC as suggested by [a test plan](quarkus-qe/quarkus-test-plans#76). There are tests for JKS/PKCS12 keystore types, a fail test when a keystore file is completely missing, test with Keycloak and RH SSO 7.3/7.5 in role of a OIDC server and test with keystore file whose file type can't be detected by a file extension.
refactor according to review comments and add a new test
@michalvavrik
Copy link
Member Author

Hello @pjgg ,

thank you for the review. I added a reference to README.md, removed duplicate certificates and resolved issues mentioned in your comments. Regarding suggested QuarkusTestFramework enhancement, let's do it separately once this MR is merged and refactor the test suite afterwards.

BR,
Michal

@michalvavrik michalvavrik requested a review from pjgg April 19, 2022 22:41
Copy link
Contributor

@pjgg pjgg left a comment

Choose a reason for hiding this comment

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

thank you for your contribution!

@pjgg pjgg merged commit 9e85f74 into quarkus-qe:main Apr 20, 2022
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