- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for Negotiation (0.06 seconds)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
/** * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1. * * Provides comprehensive pre-authentication integrity protection against * downgrade attacks by maintaining cryptographic hash chains of all * negotiation and session setup messages. */ public class PreauthIntegrityService { private static final Logger log = LoggerFactory.getLogger(PreauthIntegrityService.class); // Hash algorithm constantsCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
* @param skipAuthentication If true the negotiation is only done if it is * initiated by the client (MSIE post requests after successful NTLM SSP * authentication). If false and the user has not been authenticated yet * the client will be forced to send an authentication (server sends * HttpServletResponse.SC_UNAUTHORIZED). * @return True if the negotiation is complete, otherwise falseCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
README.md
<artifactId>jcifs</artifactId> <version>2.1.39</version> </dependency> ``` ## Features ### Protocol Support The library supports a full range of SMB protocols with automatic negotiation: **Supported Protocols:** - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package - **SMB 2.0.2**: Windows Vista+ (0x0202) - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
/** * Constructs an SMB2 negotiate request with the specified configuration and security mode. * * @param config the configuration for this request * @param securityMode the security mode flags for negotiation */ public Smb2NegotiateRequest(final Configuration config, final int securityMode) { super(config, SMB2_NEGOTIATE); this.securityMode = securityMode; if (!config.isDfsDisabled()) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
log.debug("Secure negotiation does not apply"); return; } final Smb2NegotiateResponse nego = (Smb2NegotiateResponse) trans.getNegotiateResponse(); if (nego.getSelectedDialect().atLeast(DialectVersion.SMB311)) { // have preauth integrity instead log.debug("Secure negotiation does not apply, is SMB3.1"); return; }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
* * @param req * The servlet request * @param resp * The servlet response * @param skipAuthentication * If true the negotiation is only done if it is * initiated by the client (MSIE post requests after successful NTLM SSP * authentication). If false and the user has not been authenticated yetCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
/** * Use SMB2 non-backward compatible negotiation style * * Property {@code jcifs.smb.client.useSMB2Negotiation} (boolean, default false) * * @return whether to use non-backward compatible protocol negotiation */ boolean isUseSMB2OnlyNegotiation(); /** * Enforce secure negotiation *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Whether to use NT status codes instead of DOS error codes */ protected boolean useNtStatus = true; /** Whether to use extended security negotiation */ protected boolean useExtendedSecurity = true; /** Force use of extended security negotiation */ protected boolean forceExtendedSecurity = false; /** Whether to negotiate only SMB2 or higher protocols */ protected boolean smb2OnlyNegotiation = false;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
private static final Logger log = LoggerFactory.getLogger(NtlmContext.class); /** * The NTLMSSP OID (1.3.6.1.4.1.311.2.2.10) used in SPNEGO negotiation. */ public static ASN1ObjectIdentifier NTLMSSP_OID; static { try { NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
// Verify IPC signing is enforced (this is a security requirement) assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced()); } /** * Test secure negotiation requirement for SMB3 */ @Test public void testSecureNegotiateRequired() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (0)