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

[ELY-1616] ldap-key-store requires attribute userPKCS12 on ldap entry… #1163

Merged
merged 1 commit into from Aug 9, 2018

Conversation

JiriOndrusek
Copy link
Contributor

…, even if it should be mandatory

Issue: https://issues.jboss.org/browse/ELY-1616

if (attribute == null) {
log.tracef("Alias [%s] is not key entry", alias);
return false;
return engineIsCertificateEntry(alias); //todo jondruse if trusstore and is certificate then true
Copy link

Choose a reason for hiding this comment

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

This does not look valid - if it is impossible to retrieve the key, why should isKeyEntry() return true?
Truststores using JKS file also contains certificates only, without key. I dont think TrustManager should require to claim any certificates has also a key...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm sorry, that I commited a part of code which shouldn't been commited, I'll fix it

@JiriOndrusek
Copy link
Contributor Author

@hkalina It's fixed now.

@hkalina hkalina added the +1 HK label Jul 31, 2018
@fjuma fjuma added the +1 FJ label Jul 31, 2018
@darranl darranl merged commit ea58f1b into wildfly-security:1.1.x Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants