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);
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.
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.