-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add Elytron ldap cache #39665
Add Elytron ldap cache #39665
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @michalvavrik, do you agree ?
...security-ldap/runtime/src/main/java/io/quarkus/elytron/security/ldap/config/CacheConfig.java
Outdated
Show resolved
Hide resolved
...ytron-security-ldap/runtime/src/main/java/io/quarkus/elytron/security/ldap/LdapRecorder.java
Outdated
Show resolved
Hide resolved
...ytron-security-ldap/deployment/src/test/java/io/quarkus/elytron/security/ldap/CacheTest.java
Show resolved
Hide resolved
@michalvavrik i have added your suggestions and added a IT test, where the LDAP server i shutdown between requests. I am bit in doubt about the warning text. So if you have any comments/suggestions it would be nice 🙂 I will squash my commits, if you approve. |
Thanks @jonasjensen-brolstark, @michalvavrik, Michal, if you are happy, please add your approval too |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @sberyozkin about the review, I remembered to request your review, but forgot to submit my comments that I had here.
test-framework/ldap/src/main/java/io/quarkus/test/ldap/LdapServerTestResource.java
Show resolved
Hide resolved
...ytron-security-ldap/runtime/src/main/java/io/quarkus/elytron/security/ldap/LdapRecorder.java
Outdated
Show resolved
Hide resolved
Anyway, I think current code is good, thanks @jonasjensen-brolstark . |
d06787c
to
44d01f8
Compare
...ytron-security-ldap/runtime/src/main/java/io/quarkus/elytron/security/ldap/LdapRecorder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with changes, but I think the place where you put the test with shutting down server is suspicious. I'd make it declaratively last as the default method order depends on complex algorithm and I'm not able to say if it is last. anyway, good job, thanks
...security-ldap/src/test/java/io/quarkus/elytron/security/ldap/it/ElytronSecurityLdapTest.java
Show resolved
Hide resolved
93a7283
to
b580f51
Compare
This comment has been minimized.
This comment has been minimized.
|
I updated and force pushed the change |
Status for workflow
|
Thanks @geoand |
👍🏼 |
Add configuration for Elytron ldap cache.