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

integrate keycloak #2

Open
subes opened this issue Oct 24, 2020 · 4 comments
Open

integrate keycloak #2

subes opened this issue Oct 24, 2020 · 4 comments

Comments

@subes
Copy link
Collaborator

subes commented Oct 24, 2020

keycloak is easily embeddable: https://www.baeldung.com/keycloak-embedded-in-spring-boot-app

provide integration similar to ApacheDS so it can be turned on/off via annotation in unit tests.

This can then be used for authentication example projects in invesdwin-context-client with some js frontend framework.

@subes
Copy link
Collaborator Author

subes commented Oct 24, 2020

Could also provide client integration test cases for OpenID Connect (requires new spring-security client module), OAuth 2.0 (requires new security client module) and SAML 2.0 (already exists as invesdwin-context-security-saml module).

@subes
Copy link
Collaborator Author

subes commented Oct 24, 2020

Keycloak should be configurable to use a database as provided by invesdwin-context-persistence-jpa or a LDAP as provided by invesdwin-context-security-ldap-sever (which will likely be split into two separate modules, one for apacheds, another for OpenDJ).

See: #1

@subes
Copy link
Collaborator Author

subes commented Mar 12, 2022

It will be better to embed keycloak as a docker image into test cases instead of trying to embed it in the classpath: https://www.testcontainers.org/test_framework_integration/junit_5/

@subes
Copy link
Collaborator Author

subes commented Mar 31, 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

No branches or pull requests

1 participant