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

[WFLY-7254] pattern-filter disappears if predefined-filter is used for configurable-sasl-server-factory in Elytron subsystem #253

Merged
merged 1 commit into from Oct 14, 2016

Conversation

ivassile
Copy link
Contributor

@ivassile ivassile commented Oct 6, 2016

if (current.hasDefined(ElytronDescriptionConstants.PREDEFINED_FILTER)
&& current.hasDefined(ElytronDescriptionConstants.PATTERN_FILTER)) {
throw ROOT_LOGGER.invalidDefinition(ElytronDescriptionConstants.FILTERS);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any way we can get this validation to happen earlier?

This method is only executed during Stage.RUNTIME when really we should be able to validate this during the model stage?

Don't spend too much time on it if it is very complex as we need to simplify this resource anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved the validation to "Filters" attribute definition.

configurable-sasl-server-factory in Elytron subsystem
@darranl darranl merged commit b5c7e66 into wildfly-security:master Oct 14, 2016
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.

None yet

2 participants