Commit fe120182 authored by kiranveerapaneni's avatar kiranveerapaneni
Browse files

Adding conditional check on the component

parent da540e38
Pipeline #8164 passed with stages
in 12 minutes and 20 seconds
......@@ -5,6 +5,7 @@ import com.nimbusds.jwt.JWTClaimsSet;
import net.minidev.json.JSONArray;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
......@@ -26,6 +27,7 @@ import static org.springframework.util.StringUtils.hasText;
* For istio authentication filter.
@ConditionalOnProperty(value = "azure.istio.auth.enabled", havingValue = "true", matchIfMissing = true)
public final class AzureIstioSecurityFilter extends OncePerRequestFilter {
private static final Logger LOGGER = LoggerFactory.getLogger(AzureIstioSecurityFilter.class);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment