com.nextgearcapital.feign.oauth2.autoconfigure.hystrix.SecurityContextHystrixRequestVariable Maven / Gradle / Ivy
package com.nextgearcapital.feign.oauth2.autoconfigure.hystrix;
import com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableDefault;
import org.springframework.security.core.context.SecurityContext;
/**
* Holder for the HystrixRequestVariableDefault instance that contains the SecurityContext.
*/
public class SecurityContextHystrixRequestVariable {
private static final HystrixRequestVariableDefault securityContextVariable = new HystrixRequestVariableDefault();
private SecurityContextHystrixRequestVariable() {}
public static HystrixRequestVariableDefault getInstance() {
return securityContextVariable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy