Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientCertificateBasedAuthenticationHandler cannot be disabled through the deployment.toml file #22217

Closed
deshankoswatte opened this issue Jan 8, 2025 · 1 comment

Comments

@deshankoswatte
Copy link
Member

deshankoswatte commented Jan 8, 2025

Current Limitation

It is not possible to configure or disable the ClientCertificateBasedAuthenticationHandler through the deployment.toml file. Therefore, if there is a requirement to avoid using the ClientCertificateBasedAuthenticationHandler, you cannot change its priority or disable the configuration.

Suggested Improvement

The identity.xml.j2 file should be templated (such as mentioned below) to allow configuring the priority and enabling or disabling the ClientCertificateBasedAuthenticationHandler through the deployment.toml file.

<EventListener id="client_certificate_authentication_handler"
   type="org.wso2.carbon.identity.core.handler.AbstractIdentityMessageHandler"
   name="org.wso2.carbon.identity.auth.service.handler.impl.ClientCertificateBasedAuthenticationHandler"
   orderId="1000"
   enable="{{event.default_listener.client_certificate_authentication_handler.enable}}">
</EventListener>

Version

wso2is-5.9.0

@asha15
Copy link
Contributor

asha15 commented Jan 20, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants