Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 337 for insecure (0.05 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // We can't directly test if password is wiped since auth is out of scope,
            // but the close() method should have been called
        }
    
        /**
         * Test secure memory clearing in close()
         */
        @Test
        @DisplayName("Test secure memory clearing on close")
        public void testCloseSecurelyClearsMemory() {
            char[] testPassword = "CloseTestPass123!".toCharArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Secure credential storage with encryption at rest.
     *
     * Provides secure storage of passwords and other sensitive credentials
     * using AES-GCM encryption with PBKDF2 key derivation.
     *
     * Features:
     * - Encrypts credentials at rest using AES-256-GCM
     * - Uses PBKDF2 for key derivation from master password
     * - Secure wiping of sensitive data
     * - Thread-safe operations
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

          Arrays.asList(
            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly",
            "a= ; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly",
            "a=b;          Domain=example.com; Max-Age=5; Secure; HttpOnly",
            "a=b; Path=/c;                     Max-Age=5; Secure; HttpOnly",
            "a=b; Path=/c; Domain=example.com;            Secure; HttpOnly",
            "a=b; Path=/c; Domain=example.com; Max-Age=5;         HttpOnly",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  4. cmd/bucket-replication-stats.go

    	Endpoint         string
    	Secure           bool
    	Err              error
    }
    
    func (rs *replStat) endpoint() string {
    	scheme := "http"
    	if rs.Secure {
    		scheme = "https"
    	}
    	return scheme + "://" + rs.Endpoint
    }
    
    func (rs *replStat) set(arn string, n int64, duration time.Duration, status replication.StatusType, opType replication.Type, endpoint string, secure bool, err error) {
    	rs.Endpoint = endpoint
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. docs/security/README.md

    ##### Figure 1 - Secure Channel construction
    
    ```
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                    try {
                        if (securityDispatcher.isLegacyEncryptedString(passphrase)) {
                            problems.add(new DefaultSettingsProblem(
                                    "Legacy/insecurely encrypted passphrase detected for server " + server.getId(),
                                    Severity.WARNING,
                                    "server: " + server.getId(),
                                    -1,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Nov 16 13:55:43 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. internal/event/target/nats_tls_contrib_test.go

    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 22 22:12:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then
            assertNotNull(nonce1, "First secure nonce should not be null");
            assertNotNull(nonce2, "Second secure nonce should not be null");
            assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different");
            assertTrue(nonce1.length > 0, "Secure nonce should have proper length");
        }
    
        @Test
        @DisplayName("Should handle concurrent secure nonce generation safely")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NtlmServletTest.java

            ntlmServlet.init(servletConfig);
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.getSession(false)).thenReturn(null);
            lenient().when(request.isSecure()).thenReturn(true);
    
            ntlmServlet.service(request, response);
    
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\"");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. cmd/site-replication-metrics.go

    	// transfer rate for small uploads
    	XferRateSml *XferStats `json:"smallTransferRate" msg:"st"`
    	// Endpoint is the replication target endpoint
    	Endpoint string `json:"-"`
    	// Secure is true if the replication target endpoint is secure
    	Secure bool `json:"-"`
    }
    
    func (sr *SRStats) update(st replStat, dID string) {
    	sr.lock.Lock()
    	defer sr.lock.Unlock()
    	srs, ok := sr.M[dID]
    	if !ok {
    		srs = &SRStatus{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top