Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildSecurityCaller (0.15 sec)

  1. security/pkg/server/ca/authenticate/xfcc_authenticator.go

    	if !isTrustedAddress(remoteAddr, features.TrustedGatewayCIDR) {
    		return nil, fmt.Errorf("caller from %s is not in the trusted network. XfccAuthenticator can not be used", remoteAddr)
    	}
    
    	return buildSecurityCaller(xfccHeader[0])
    }
    
    func buildSecurityCaller(xfccHeader string) (*security.Caller, error) {
    	clientCerts, err := xfccparser.ParseXFCCHeader(xfccHeader)
    	if err != nil {
    		message := fmt.Sprintf("error in parsing xfcc header: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. security/pkg/server/ca/authenticate/fuzz_test.go

    // limitations under the License.
    
    package authenticate
    
    import (
    	"testing"
    )
    
    func FuzzBuildSecurityCaller(f *testing.F) {
    	f.Fuzz(func(t *testing.T, s string) {
    		_, _ = buildSecurityCaller(s)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 749 bytes
    - Viewed (0)
Back to top