- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getLanManCompatibility (0.25 sec)
-
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/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/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/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/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) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
reconnect(); if (message == null) { message = new Type1Message(this.transportContext); if (this.transportContext.getConfig().getLanManCompatibility() > 2) { message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true); } } else if (this.transportContext.getCredentials() instanceof NtlmPasswordAuthentication) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* </table> * * * Property {@code jcifs.smb.lmCompatibility} (int, default 3) * * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only */ int getLanManCompatibility(); /** * * Property {@code jcifs.smb.allowNTLMFallback} (boolean, default true) * * @return whether to allow fallback from kerberos to NTLM */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0)