Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for enforced (0.06 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/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)
  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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (3)
  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/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");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            if (!isReceived() || getStatus() != 0) {
                return false;
            }
    
            if (req.isSigningEnforced() && !isSigningEnabled()) {
                log.debug("Signing is enforced but server does not allow it");
                return false;
            }
    
            if (getDialectRevision() == Smb2Constants.SMB2_DIALECT_ANY) {
                log.debug("Server returned ANY dialect");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top