Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for enforced (1.33 sec)

  1. 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)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/SmbTransportPool.java

         * @param tf the CIFS context to use
         * @param name the server name or address
         * @param port the port number
         * @param exclusive whether to acquire an unshared connection
         * @param forceSigning whether to enforce SMB signing
         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

        }
    
        /**
         * Delays before processing a URL, ensuring that requests to the same host are not made too frequently.
         * This method extracts the host from the URL and enforces a delay based on the configured
         * delayMillisBeforeProcessing parameter.
         *
         * @throws InterruptedRuntimeException if the thread is interrupted during the delay
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * Share flag indicating that exclusive opens are restricted on this share.
         */
        public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS = 0x100;
        /**
         * Share flag indicating that shared delete is forced for this share.
         */
        public static final int SMB2_SHAREFLAG_FORCE_SHARED_DELETE = 0x200;
        /**
         * Share flag indicating that namespace caching is allowed on this share.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top