Hi all,

Currently implementation of the postDeleteHandler[1] of
ApplicationMgtListener only accepts the name of the service provider as a
parameter. However the postCreateHandler[2] and postUpdateHandler[3] of the
ApplicationMgtListener accepts the relevant Service Provider object as a
parameter rather than just the service provider name.We will be introducing
a new overloaded postDeleteHandler to the ApplicationMgtListener interface
where the relevant Service Provider object get passed to the handler
similar to the postCreateHandler[2] and postUpdateHandler[3] as the
relevant Service Provider information is required for logging purposes.

[1]
https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L117

[2]
https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L69

[3]
https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L93

Thanks,
-- 
*Gayashan Bombuwala*
Software Engineer | WSO2

Email: [email protected]
Phone: +94770548334

[image: https://wso2.com/signature] <https://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to