gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

Allow customization of Rest API Jetty configuration customization #9417

Open exalate-issue-sync[bot] opened 7 months ago

exalate-issue-sync[bot] commented 7 months ago

Description

description

description

description

description

Currently, the Jetty configuration used to expose the APIM Management REst API allows for a certain level of customization. However, some configurations such as requestHeaderSize are not customizable. This can cause some difficulties for users that connect with an external Identity Provider which deals with heavy authentication tokens and are rejected by the Rest API because the max size is reached.

Customizing the following hardcoded configuration should be possible to provide more flexibility.

HttpConfiguration httpConfig = new HttpConfiguration();
 httpConfig.setOutputBufferSize(32768);
 httpConfig.setRequestHeaderSize(8192);
 httpConfig.setResponseHeaderSize(8192);
 httpConfig.setSendServerVersion(false);
 httpConfig.setSendDateHeader(false);
stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.