- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 147 for enforced (1.81 sec)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
@Test @DisplayName("Signing enforced/optional adhere to flags and negotiation") void signingModes() throws Exception { // Enforced via constructor flag -> optional false, enforced true regardless of negotiation SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true); assertFalse(enforced.isSigningOptional()); assertTrue(enforced.isSigningEnforced());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
void testIsSigningEnforcedReturnsTrue() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true); // When boolean result = negotiationRequest.isSigningEnforced(); // Then assertTrue(result, "isSigningEnforced should return true when signing is enforced");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationRequest.java
* * @author mbechler */ public interface SmbNegotiationRequest { /** * Checks whether SMB message signing is enforced by the client. * * @return whether SMB signing is enforced */ boolean isSigningEnforced();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// if signing is not enforced, dont use connections that have signing enforced // for purposes that dont require it. if (log.isTraceEnabled()) { log.debug("Cannot reuse, signing enforced on connection " + conn); } continue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
*/ @Test public void testSigningConfiguration() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // 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
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/SmbResourceLocatorInternal.java
* * @author mbechler */ public interface SmbResourceLocatorInternal extends SmbResourceLocator { /** * Determines whether SMB signing should be enforced for connections to this resource. * * @return whether to enforce the use of signing on connection to this resource */ boolean shouldForceSigning(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
private String[] dialects; /** * Creates a new SMB1 negotiate request to establish protocol parameters. * * @param config the CIFS configuration * @param signingEnforced whether SMB signing is enforced */ public SmbComNegotiate(final Configuration config, final boolean signingEnforced) { super(config, SMB_COM_NEGOTIATE); this.signingEnforced = signingEnforced; setFlags2(config.getFlags2());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connection when force signing differs") void testNoReuseWithDifferentSigning() throws Exception { // Given: An existing connection without signing enforced SmbTransportImpl initial = pool.getSmbTransport(ctx, address, 445, false, false); // Mock the negotiation response when(negotiationResponse.isSigningRequired()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
cmd/bucket-quota.go
} else { internalLogOnceIf(GlobalContext, errors.New("unable to retrieve usage information for bucket: %s, no reliable usage value available - quota will not be enforced"), "bucket-usage-empty-"+bucket) } } if len(dui.BucketsUsage) > 0 { bui, ok := dui.BucketsUsage[bucket] if ok { return bui } } return BucketUsageInfo{} }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 06 23:48:58 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertFalse(session.isSignatureSetupRequired()); // Case 2: no digest, signing enforced by transport -> true setField(session, "digest", null); when(transport.isSigningEnforced()).thenReturn(true); assertTrue(session.isSignatureSetupRequired()); // Case 3: not enforced, rely on negotiate response flag when(transport.isSigningEnforced()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)