Skip to content

Commit

Permalink
Add event listeners to identity.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaminduR committed Oct 24, 2023
1 parent 3637e79 commit 3f0abd9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1956,6 +1956,18 @@
enable="{{event.default_listener.basic_user_info_provider.enable}}">
</EventListener>

<EventListener id="system_api_resource_management_listener" type="org.wso2.carbon.identity.core.AbstractIdentityTenantMgtListener"
name="org.wso2.carbon.identity.api.resource.mgt.listener.APIResourceManagementListener"
orderId="{{event.default_listener.system_api_resource_management_listener.priority}}"
enable="{{event.default_listener.system_api_resource_management_listener.enable}}">
</EventListener>

<EventListener id="system_api_authorization_management_listener" type="org.wso2.carbon.identity.application.mgt.listener.AbstractApplicationMgtListener"
name="org.wso2.carbon.identity.application.mgt.listener.AuthorizedAPIManagementListener"
orderId="{{event.default_listener.system_api_authorization_management_listener.priority}}"
enable="{{event.default_listener.system_api_authorization_management_listener.enable}}">
</EventListener>

<!-- Custom Event Listeners -->
{% for listener in event_listener %}
<EventListener id="{{listener.id}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@
"identity_mgt.user_claim_update.uniqueness.listener_priority": "2",
"identity_mgt.user_claim_update.uniqueness.scope_within_userstore": false,

"event.default_listener.system_api_resource_management_listener.priority": "600",
"event.default_listener.system_api_resource_management_listener.priority": "211",
"event.default_listener.system_api_resource_management_listener.enable": true,

"event.default_listener.console_authorization_management_listener.priority": "601",
"event.default_listener.console_authorization_management_listener.priority": "212",
"event.default_listener.console_authorization_management_listener.enable": true,

"identity_mgt_account_suspension.use_identity_claims": true,
Expand Down

0 comments on commit 3f0abd9

Please sign in to comment.