fix(manager-api-security): clear discoverabilities ThreadLocal after response
Fixes:
MODIFY
manager/api/security/src/main/java/io/apiman/manager/api/security/impl/AbstractSecurityContext.java
manager/api/security/src/main/java/io/apiman/manager/api/security/impl/AbstractSecurityContext.java
@@ -67,6 +67,7 @@ public abstract class AbstractSecurityContext implements ISecurityContext {
*/
protected static void clearPermissions() {
permissions.remove();
+ discoverabilities.remove();
}
/**

fix(manager-api-security): clear discoverabilities ThreadLocal after response

Fixes: #2299