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

PAYARA-3658 ejb-invoker endpoint security support #4232

Merged
merged 15 commits into from Oct 24, 2019
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -129,9 +129,14 @@ public void event(EventListener.Event event) {
public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) {
List<UnprocessedChangeEvent> unchangedList = new ArrayList<>();
for (PropertyChangeEvent event : events) {
if ("enabled".equals(event.getPropertyName())){
jGauravGupta marked this conversation as resolved.
Show resolved Hide resolved
unchangedList.clear();
break;
}
unchangedList.add(new UnprocessedChangeEvent(event, "EJB Invoker configuration changed:" + event.getPropertyName()
Pandrex247 marked this conversation as resolved.
Show resolved Hide resolved
+ " was changed from " + event.getOldValue() + " to " + event.getNewValue()));
}
return new UnprocessedChangeEvents(unchangedList);
return (unchangedList.size() > 0)
? new UnprocessedChangeEvents(unchangedList) : null;
}
}