Skip to content

Commit

Permalink
register the sharing policy cleanup handler
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuradhaSK committed Jan 25, 2025
1 parent 7329558 commit bfc56dc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.wso2.carbon.identity.organization.management.application.OrgApplicationManager;
import org.wso2.carbon.identity.organization.management.handler.GovernanceConfigUpdateHandler;
import org.wso2.carbon.identity.organization.management.handler.SharedRoleMgtHandler;
import org.wso2.carbon.identity.organization.management.handler.SharingPolicyCleanUpHandler;
import org.wso2.carbon.identity.organization.management.handler.listener.SharedRoleMgtListener;
import org.wso2.carbon.identity.organization.management.service.OrganizationManager;
import org.wso2.carbon.identity.organization.resource.sharing.policy.management.ResourceSharingPolicyHandlerService;
Expand Down Expand Up @@ -65,6 +66,7 @@ protected void activate(ComponentContext componentContext) {
bundleContext.registerService(AbstractEventHandler.class, new GovernanceConfigUpdateHandler(), null);
bundleContext.registerService(AbstractEventHandler.class, new SharedRoleMgtHandler(), null);
bundleContext.registerService(ApplicationMgtListener.class.getName(), new SharedRoleMgtListener(), null);
bundleContext.registerService(AbstractEventHandler.class, new SharingPolicyCleanUpHandler(), null);
LOG.debug("Organization management handler component activated successfully.");
} catch (Throwable e) {
LOG.error("Error while activating organization management handler module.", e);
Expand Down

0 comments on commit bfc56dc

Please sign in to comment.