- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for JwtFilter (0.1 sec)
-
pilot/pkg/security/authn/factory.go
InboundMTLSSettings(endpointPort uint32, node *model.Proxy, trustDomainAliases []string, modeOverride model.MutualTLSMode) MTLSSettings // JwtFilter returns the JWT HTTP filter to enforce the underlying authentication policy. // It may return nil, if no JWT validation is needed. JwtFilter(useExtendedJwt, clearRouteCache bool) *hcm.HttpFilter // AuthNFilter returns the (authn) HTTP filter to enforce the underlying authentication policy.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 3K bytes - Viewed (0) -
pilot/pkg/networking/plugin/authn/authentication.go
return nil } if b.proxy.SupportsEnvoyExtendedJwt() { filter := b.applier.JwtFilter(true, b.proxy.Type != model.SidecarProxy) if filter != nil { return []*hcm.HttpFilter{filter} } return nil } res := []*hcm.HttpFilter{} if filter := b.applier.JwtFilter(false, false); filter != nil { res = append(res, filter) } forSidecar := b.proxy.Type == model.SidecarProxy
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 4.4K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier.go
return policyApplier{ processedJwtRules: processedJwtRules, consolidatedPeerPolicy: ComposePeerAuthentication(rootNamespace, peerPolicies), push: push, } } func (a policyApplier) JwtFilter(useExtendedJwt, clearRouteCache bool) *hcm.HttpFilter { if len(a.processedJwtRules) == 0 { return nil } filterConfigProto := convertToEnvoyJwtConfig(a.processedJwtRules, a.push, useExtendedJwt, clearRouteCache)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 19.2K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
} for _, c := range cases { t.Run(c.name, func(t *testing.T) { istiotest.SetForTest(t, &features.JwksFetchMode, c.jwksFetchMode) if got := newPolicyApplier("root-namespace", c.in, nil, push).JwtFilter(false, false); !reflect.DeepEqual(c.expected, got) { t.Errorf("got:\n%s\nwanted:\n%s", spew.Sdump(got), spew.Sdump(c.expected)) } }) } } func TestConvertToEnvoyJwtConfig(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0)