Skip to content

Commit

Permalink
Merge pull request #2957 from Akila94/post-app-listener-issue
Browse files Browse the repository at this point in the history
[Bug] Fix for not calling post listeners when creating Service Provider
  • Loading branch information
Tharindu Bandara authored Jun 1, 2020
2 parents d42cc9d + e4c4837 commit b698869
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public ServiceProvider createApplicationWithTemplate(ServiceProvider serviceProv
}

for (ApplicationMgtListener listener : listeners) {
if (listener.isEnable() && !listener.doPreCreateApplication(serviceProvider, tenantDomain, username)) {
if (listener.isEnable() && !listener.doPostCreateApplication(serviceProvider, tenantDomain, username)) {
log.error("Post create application operation of listener:" + getName(listener) + " failed for " +
"application: " + serviceProvider.getApplicationName() + " of tenantDomain: " + tenantDomain);
break;
Expand Down

0 comments on commit b698869

Please sign in to comment.