Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for AuthType (0.47 sec)

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

    	peer, ok := peer.FromContext(ctx)
    	if !ok || peer.AuthInfo == nil {
    		return nil, fmt.Errorf("no client certificate is presented")
    	}
    
    	if authType := peer.AuthInfo.AuthType(); authType != "tls" {
    		return nil, fmt.Errorf("unsupported auth type: %q", authType)
    	}
    
    	tlsInfo := peer.AuthInfo.(credentials.TLSInfo)
    	chains := tlsInfo.State.VerifiedChains
    	if len(chains) == 0 || len(chains[0]) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 19 02:12:12 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        socket: Socket,
      ) {
        if (socket.peerName() !in insecureHosts) {
          delegate.checkServerTrusted(chain, authType, socket)
        }
      }
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        engine: SSLEngine,
      ) {
        if (engine.peerHost !in insecureHosts) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    		}
    	}
    
    	authType := getRequestAuthType(r)
    	var signatureVersion string
    	switch authType {
    	case authTypeSignedV2, authTypePresignedV2:
    		signatureVersion = signV2Algorithm
    	case authTypeSigned, authTypePresigned, authTypeStreamingSigned, authTypePostPolicy:
    		signatureVersion = signV4Algorithm
    	}
    
    	var authtype string
    	switch authType {
    	case authTypePresignedV2, authTypePresigned:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/authtype_string.go

    var _authType_index = [...]uint8{0, 7, 16, 25, 36, 46, 61, 67, 75, 78, 81, 103, 127}
    
    func (i authType) String() string {
    	if i < 0 || i >= authType(len(_authType_index)-1) {
    		return "authType(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _authType_name[_authType_index[i]:_authType_index[i+1]]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. cmd/metrics-router.go

    func registerMetricsRouter(router *mux.Router) {
    	// metrics router
    	metricsRouter := router.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter()
    	authType := prometheusAuthType(strings.ToLower(env.Get(EnvPrometheusAuthType, string(prometheusJWT))))
    
    	auth := AuthMiddleware
    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. pkg/security/mock.go

    	}
    
    	p, ok := peer.FromContext(ctx)
    	if !ok || p.AuthInfo == nil {
    		return fmt.Errorf("no client certificate is presented")
    	}
    
    	if authType := p.AuthInfo.AuthType(); authType != "tls" {
    		return fmt.Errorf("unsupported auth type: %q", authType)
    	}
    
    	tlsInfo := p.AuthInfo.(credentials.TLSInfo)
    	chains := tlsInfo.State.VerifiedChains
    	if len(chains) == 0 || len(chains[0]) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

    
    @SuppressWarnings ( "javadoc" )
    public abstract class KerberosAuthData {
    
        public static List<KerberosAuthData> parse ( int authType, byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
    
            List<KerberosAuthData> authorizations = new ArrayList<>();
    
            switch ( authType ) {
            case KerberosConstants.AUTH_DATA_RELEVANT:
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. security/pkg/server/ca/authenticate/cert_authenticator_test.go

    	"google.golang.org/grpc/peer"
    
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    type mockAuthInfo struct {
    	authType string
    }
    
    func (ai mockAuthInfo) AuthType() string {
    	return ai.authType
    }
    
    func TestAuthenticate_clientCertAuthenticator(t *testing.T) {
    	callerID := "test.identity"
    	ids := []util.Identity{
    		{Type: util.TypeURI, Value: []byte(callerID)},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 01:20:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

                ASN1Integer authType = ASN1Util.as(ASN1Integer.class, ASN1Util.as(ASN1TaggedObject.class, authElement, 0));
                DEROctetString authData = ASN1Util.as(DEROctetString.class, ASN1Util.as(ASN1TaggedObject.class, authElement, 1));
    
                this.authorizations.addAll(KerberosAuthData.parse(authType.getValue().intValue(), authData.getOctets(), keys));
            }
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top