Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 58 for reauth (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        }
    
        @Test
        @DisplayName("Should derive unique keys for different preauth values")
        void testDeriveKeys_UniquePreauthValues() {
            // Given
            byte[] preauth1 = new byte[64];
            byte[] preauth2 = new byte[64];
            new SecureRandom().nextBytes(preauth1);
            new SecureRandom().nextBytes(preauth2);
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

                if (enforceIntegrity) {
                    throw new CIFSException("No preauth integrity context found for session: " + sessionId);
                }
                log.warn("No preauth integrity context for session {}, skipping update", sessionId);
                return;
            }
    
            if (!context.isValid()) {
                throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            void testDifferentContextTypes() {
                PreauthIntegrityNegotiateContext preauth = new PreauthIntegrityNegotiateContext();
                EncryptionNegotiateContext encryption = new EncryptionNegotiateContext();
    
                assertNotEquals(preauth.getContextType(), encryption.getContextType());
                assertEquals(0x1, preauth.getContextType());
                assertEquals(0x2, encryption.getContextType());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            assertNotNull(enc);
            assertTrue(enc instanceof EncryptionNegotiateContext);
    
            // Test preauth context
            NegotiateContextResponse preauth = Smb2NegotiateResponse.createContext(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
            assertNotNull(preauth);
            assertTrue(preauth instanceof PreauthIntegrityNegotiateContext);
    
            // Test unknown context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        }
    
        @AfterEach
        public void tearDown() {
            if (preauthService != null) {
                preauthService.cleanup();
            }
        }
    
        @Test
        @DisplayName("Test preauth salt generation")
        public void testPreauthSaltGeneration() {
            byte[] salt1 = preauthService.generatePreauthSalt();
            byte[] salt2 = preauthService.generatePreauthSalt();
    
            assertNotNull(salt1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
        /**
         * Set the health check interval
         * @param millis the health check interval in milliseconds
         */
        public void setHealthCheckInterval(int millis) {
            if (millis <= 0) {
                throw new IllegalArgumentException("Health check interval must be positive");
            }
            this.healthCheckInterval = millis;
            log.info("Set health check interval to {} ms", millis);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  7. cmd/xl-storage-disk-id-check.go

    		return ctx, done, ctx.Err()
    	}
    
    	atomic.StoreInt64(&p.health.lastStarted, time.Now().UnixNano())
    	p.health.waiting.Add(1)
    
    	ctx = context.WithValue(ctx, healthDiskCtxKey{}, &healthDiskCtxValue{lastSuccess: &p.health.lastSuccess})
    	si := p.updateStorageMetrics(s, paths...)
    	var once sync.Once
    	return ctx, func(sz int64, errp *error) {
    		p.health.waiting.Add(-1)
    		once.Do(func() {
    			if errp != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  8. 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
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            NegotiateContextRequest[] contexts = request.getNegotiateContexts();
            assertNotNull(contexts);
            assertEquals(2, contexts.length);
    
            // Verify preauth context
            assertTrue(contexts[0] instanceof PreauthIntegrityNegotiateContext);
            assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, contexts[0].getContextType());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

            fessConfig.setSystemProperty("spnego.preauth.username", form.spnegoPreauthUsername);
            if (form.spnegoPreauthPassword != null && StringUtil.isNotBlank(form.spnegoPreauthPassword.replace("*", " "))) {
                fessConfig.setSystemProperty("spnego.preauth.password", form.spnegoPreauthPassword);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 05:54:31 GMT 2026
    - 27.2K bytes
    - Click Count (0)
Back to Top