Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 99 for Enforced (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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());
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. 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();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. 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
    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)
  4. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. 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();
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. 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());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (3)
  7. 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`
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. 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;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertFalse(signingPreferred, "Should delegate signing preferred setting");
            assertTrue(signingEnforced, "Should delegate signing enforced setting");
            assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting");
            assertTrue(firstExtendedSecurityCall, "First call should return true");
            assertFalse(secondExtendedSecurityCall, "Second call should return false");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

    import okhttp3.CallEvent.CallStart
    import okhttp3.CallEvent.Canceled
    import org.junit.jupiter.api.Assertions.fail
    
    open class EventRecorder(
      /**
       * An override to ignore the normal order that is enforced.
       * EventListeners added by Interceptors will not see all events.
       */
      private val enforceOrder: Boolean = true,
    ) {
      private val eventListenerAdapter =
        EventListenerAdapter()
          .apply {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top