From d8b42589c38f91081be68267e3b363ba05aa4c49 Mon Sep 17 00:00:00 2001 From: sgayangi Date: Wed, 18 Oct 2023 13:23:59 +0530 Subject: [PATCH] Add init method call --- .../src/main/java/org/wso2/apk/enforcer/api/RestAPI.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gateway/enforcer/org.wso2.apk.enforcer/src/main/java/org/wso2/apk/enforcer/api/RestAPI.java b/gateway/enforcer/org.wso2.apk.enforcer/src/main/java/org/wso2/apk/enforcer/api/RestAPI.java index b1913414d2..98446587d6 100644 --- a/gateway/enforcer/org.wso2.apk.enforcer/src/main/java/org/wso2/apk/enforcer/api/RestAPI.java +++ b/gateway/enforcer/org.wso2.apk.enforcer/src/main/java/org/wso2/apk/enforcer/api/RestAPI.java @@ -284,6 +284,7 @@ private void initFilters() { this.filters.add(0, corsFilter); DenyFilter denyFilter = new DenyFilter(); + denyFilter.init(apiConfig, null); this.filters.add(denyFilter); }