There is a security vulnerability in SSH key-generation using GitKraken < v8.0.1. If you used this tool to create SSH keys, please update GitKraken and regenerate. If you need help with this, contact forum-support@opengroup.org

Commit 5ac2e4e2 authored by Kishore Battula's avatar Kishore Battula
Browse files

Merge branch 'users/kiveerap/FixIstioFilter' into 'master'

Adding conditional check on the component

See merge request !19
parents da540e38 fe120182
Pipeline #8451 canceled with stages
in 0 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;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken;
......@@ -26,6 +27,7 @@ import static org.springframework.util.StringUtils.hasText;
* For istio authentication filter.
*/
@Component
@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);
......
Markdown is supported
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