- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getLanManCompatibility (2.04 sec)
-
src/test/java/jcifs/config/SecurityConfigurationTest.java
// Verify LM compatibility level is 3 or higher (NTLMv2 only) assertTrue("LM compatibility should be 3 or higher for NTLMv2 only", config.getLanManCompatibility() >= 3); assertEquals("LM compatibility should default to 3", 3, config.getLanManCompatibility()); // Verify maximum version supports latest SMB 3.1.1
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
*/ @Deprecated public byte[] getAnsiHash(CIFSContext tc, byte[] chlng) throws GeneralSecurityException { int compatibility = tc.getConfig().getLanManCompatibility(); // Log warning for insecure NTLMv1 usage if (compatibility < 3) { log.warn("Using insecure NTLMv1 authentication (LM compatibility level {}). "
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/ConfigurationTest.java
mockConfig.getLogonShare(); mockConfig.getDefaultDomain(); mockConfig.getDefaultUsername(); mockConfig.getDefaultPassword(); mockConfig.getLanManCompatibility(); mockConfig.isAllowNTLMFallback(); mockConfig.isUseRawNTLM(); mockConfig.isDisablePlainTextPasswords(); mockConfig.getResolveOrder();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
this.digest = Crypto.getMD5(); try { final byte[] serverEncryptionKey = transport.getServerEncryptionKey(); switch (transport.getContext().getConfig().getLanManCompatibility()) { case 0: case 1: case 2: this.macSigningKey = new byte[40];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} if ((this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY) != SmbConstants.CAP_EXTENDED_SECURITY && this.server.encryptionKeyLength != 8 && ctx.getConfig().getLanManCompatibility() == 0) { log.warn("Unexpected encryption key length: " + this.server.encryptionKeyLength); return false; } if (req.isSigningEnforced() || this.server.signaturesRequired
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getLeaseBreakTimeout(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getLanManCompatibility() */ @Override public int getLanManCompatibility() { return this.delegate.getLanManCompatibility(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isAllowNTLMFallback() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Authentication configuration should delegate correctly") void testAuthenticationConfigurationDelegation() { // Given when(mockDelegate.getLanManCompatibility()).thenReturn(3); when(mockDelegate.isAllowNTLMFallback()).thenReturn(true); when(mockDelegate.isUseRawNTLM()).thenReturn(false); when(mockDelegate.isDisablePlainTextPasswords()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockTransport.getContext()).thenReturn(mockContext); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getLanManCompatibility()).thenReturn(3); when(mockTransport.getServerEncryptionKey()).thenThrow(new RuntimeException("Test exception")); assertThrows(SmbException.class, () -> new SMB1SigningDigest(mockTransport, mockAuth));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); lenient().when(mockConfig.getRandom()).thenReturn(mockRandom); lenient().when(mockConfig.getLanManCompatibility()).thenReturn(3); // Default NTLMv2 lenient().when(mockConfig.getMachineId()).thenReturn(machineId); lenient().when(mockCtx.getConfig()).thenReturn(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNull(config.getDefaultUsername()); assertNull(config.getDefaultPassword()); assertTrue(config.isDisablePlainTextPasswords()); assertEquals(3, config.getLanManCompatibility()); assertTrue(config.isAllowNTLMFallback()); assertFalse(config.isUseRawNTLM()); assertFalse(config.isDisableSpnegoIntegrity()); assertTrue(config.isEnforceSpnegoIntegrity());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0)