Public url like /login and /actuator/health need to skip the keycloak authentication using policy-enforce-config.json

“paths”: [ { “name”: “Health Check”,
“path”: “/actuator/health”, “enforcement-mode”: “DISABLED” },
{ “name”: “Staff Login”, “path": "/login”,
“enforcement-mode”: “DISABLED” }]

Above config.json having the path but every request it is hitting and checking for the authentication verification from keycloak. I want to skip this by giving “enforcement-mode”: “DISABLED” in above json.But not worked .Even tried with the websecurity configurer also to skip by using permit all for the antmatchers request but it won’t work.