This repository was archived by the owner on Feb 23, 2025. It is now read-only.
SamlCsrfCheck.isSafe causes load of the SAML plugin settings from disk on every request #116
Labels
enhancement
New feature or request
Every request which is going through SamlCsrfCheck.isSafe causes loading of the plugin settings from disk.
TeamCity calls CsrfCheck extensions on every request be it GET, or anything else.
It seems like SamlCsrfCheck could at lease check that the request is not GET and only in this case perform the load of the settings.
A better approach would be cache the plugin settings in memory and reload them more rarely.
The text was updated successfully, but these errors were encountered: