- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StringToPrefixMatch (0.4 sec)
-
pilot/pkg/security/model/authentication.go
matchSAN := util.StringToExactMatch(subjectAltNames) if len(trustDomainAliases) > 0 { matchSAN = append(matchSAN, util.StringToPrefixMatch(AppendURIPrefixToTrustDomain(trustDomainAliases))...) } // configure server listeners with SDS. if validateClient { defaultValidationContext := &tls.CertificateValidationContext{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 22:11:02 UTC 2024 - 9.9K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
aliases := authn.TrustDomainsForValidation(push.Mesh) validationCtx := ctx.GetCombinedValidationContext().DefaultValidationContext if len(aliases) > 0 { matchers := util.StringToPrefixMatch(security.AppendURIPrefixToTrustDomain(aliases)) for _, matcher := range matchers { validationCtx.MatchTypedSubjectAltNames = append(validationCtx.MatchTypedSubjectAltNames, &tls.SubjectAltNameMatcher{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
node.SidecarScope.OutboundTrafficPolicy.Mode == networking.OutboundTrafficPolicy_ALLOW_ANY } func StringToExactMatch(in []string) []*matcher.StringMatcher { return pm.StringToExactMatch(in) } func StringToPrefixMatch(in []string) []*matcher.StringMatcher { if len(in) == 0 { return nil } res := make([]*matcher.StringMatcher, 0, len(in)) for _, s := range in { res = append(res, &matcher.StringMatcher{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0)