- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for enforced (0.2 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.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 */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (3) -
CLAUDE.md
### Helpers - Cross-cutting utilities in `helper.*` - Stateless, injected via DI - Access via `ComponentUtil.getFooHelper()` ## Development Notes - **Code Style**: Enforced by `mvn formatter:format` - **License Headers**: Required (Apache 2.0) - use `mvn license:format` - **Logging**: Log4j2 - `src/main/resources/log4j2.xml` - **i18n**: All user-facing strings in `fess_label_*.properties`
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
*/ boolean isSigningOptional() throws SmbException; /** * Checks if message signing is mandatory for this connection. * * @return whether signatures are enforced from either side * @throws SmbException if an error occurs checking signing status */ boolean isSigningEnforced() throws SmbException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0)