Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 304 for Auth (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
                    System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey),
                                0, macSigningKey, 16, 24);
                    break;
                case 3:
                case 4:
                case 5:
                    macSigningKey = new byte[16];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            if( session.transport.server.security == SECURITY_SHARE &&
                            ( session.auth.hashesExternal ||
                            session.auth.password.length() > 0 )) {
    
                if( session.transport.server.encryptedPasswords ) {
                    // encrypted
                    password = session.auth.getAnsiHash( session.transport.server.encryptionKey );
                    passwordLength = password.length;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

            props.put("jcifs.smb.client.password", "my-default-password");
    
            CIFSContext auth = new BaseContext(new PropertyConfiguration(props));
            assertTrue(auth.hasDefaultCredentials());
            assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator);
    
            NtlmPasswordAuthenticator pa = (NtlmPasswordAuthenticator) auth.getCredentials();
    
            assertEquals("my-domain", pa.getUserDomain());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. cmd/signature-v2.go

    //     - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html
    // returns true if matches, false otherwise. if error is not nil then it is always false
    
    func validateV2AuthHeader(r *http.Request) (auth.Credentials, APIErrorCode) {
    	var cred auth.Credentials
    	v2Auth := r.Header.Get(xhttp.Authorization)
    	if v2Auth == "" {
    		return cred, ErrAuthHeaderEmpty
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    		return ErrSTSAccessDenied
    	}
    }
    
    func checkAssumeRoleAuth(ctx context.Context, r *http.Request) (auth.Credentials, APIErrorCode) {
    	if !isRequestSignatureV4(r) {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	s3Err := isReqAuthenticated(ctx, r, globalSite.Region(), serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	user, _, s3Err := getReqAccessKeyV4(r, globalSite.Region(), serviceSTS)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. cmd/iam.go

    		return updatedAt, errServerNotInitialized
    	}
    
    	if !auth.IsAccessKeyValid(accessKey) {
    		return updatedAt, auth.ErrInvalidAccessKeyLength
    	}
    
    	if auth.ContainsReservedChars(accessKey) {
    		return updatedAt, auth.ErrContainsReservedChars
    	}
    
    	if !auth.IsSecretKeyValid(ureq.SecretKey) {
    		return updatedAt, auth.ErrInvalidSecretKeyLength
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. internal/grid/grid.go

    	}
    }
    
    // ConnectWS returns a function that dials a websocket connection to the given address.
    // Route and auth are added to the connection.
    func ConnectWS(dial ContextDialer, auth AuthFn, tls *tls.Config) func(ctx context.Context, remote string) (net.Conn, error) {
    	return ConnectWSWithRoutePath(dial, auth, tls, RoutePath)
    }
    
    // ValidateTokenFn must validate the token and return an error if it is invalid.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    }
    
    type metricsV3Server struct {
    	registry *prometheus.Registry
    	opts     promhttp.HandlerOpts
    	auth     func(http.Handler) http.Handler
    
    	metricsData *metricsV3Collection
    }
    
    var (
    	globalMetricsV3CollectorPaths []collectorPath
    	globalMetricsV3Once           sync.Once
    )
    
    func newMetricsV3Server(auth func(h http.Handler) http.Handler) *metricsV3Server {
    	registry := prometheus.NewRegistry()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser.go

    		authFields := strings.Split(strings.TrimSpace(v4Auth), ",")
    		if len(authFields) != 3 {
    			return auth.Credentials{}, false, ErrMissingFields
    		}
    		ch, s3Err = parseCredentialHeader(authFields[0], region, stype)
    		if s3Err != ErrNone {
    			return auth.Credentials{}, false, s3Err
    		}
    	}
    	return checkKeyValid(r, ch.accessKey)
    }
    
    // parse credentialHeader string into its structured form.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

                        return;
                }
                else {
                    String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = ( index != -1 ) ? auth.substring(0, index) : auth;
                    String password = ( index != -1 ) ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if ( index == -1 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
Back to top