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

WFCORE-2672: fix jdbc-realm validation #132

Merged
merged 1 commit into from May 18, 2017

Conversation

michpetrov
Copy link

@michpetrov michpetrov commented Apr 13, 2017

Issue: WFCORE-2672
JBEAP issue: JBEAP-10321


@darranl I'm wondering what is being validated here, as currently (and still after my change) the resolveKeyMappers checks only the first principal query and not the others.

@darranl
Copy link

darranl commented May 3, 2017

@pedroigor Could you please take a look at this one?

Also to be merged we will also need a link to the corresponding JBEAP issue within this PR.

@darranl darranl requested a review from pedroigor May 3, 2017 11:07
@bstansberry
Copy link

This is ok. I had the same question @michpetrov did re: only checking the first principal query, but that's a separate thing from what's being fixed here, so I'm not going to express an opinion on whether that needs to be fixed in this PR.

This validation logic could be done in an impl of finishModelStage instead of validateUpdatedModel, and that would let you check the attributeName param and only validate if PRINCIPAL_QUERY is the attribute, but that's not required.

@bstansberry bstansberry reopened this May 11, 2017
@bstansberry
Copy link

Sorry; I hit the close button by mistake when posting my last comment.

@darranl darranl merged commit aa7fea8 into wildfly-security-incubator:ladybird May 18, 2017
@michpetrov michpetrov deleted the wfcore2672 branch May 18, 2017 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants