Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for protection (1.29 sec)

  1. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    dynamicThresholdEnabled, backpressureEnabled);
        }
    
        /**
         * Execute an operation with circuit breaker protection
         *
         * @param <T> return type
         * @param operation the operation to execute
         * @return operation result
         * @throws CIFSException if circuit is open or operation fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

     *
     * Features:
     * - Encrypts credentials at rest using AES-256-GCM
     * - Uses PBKDF2 for key derivation from master password
     * - Secure wiping of sensitive data
     * - Thread-safe operations
     * - Protection against timing attacks
     */
    public class SecureCredentialStorage implements AutoCloseable, Destroyable {
    
        private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    .orElse(false);
        }
    
        /**
         * Masks email addresses in the input string for privacy protection.
         *
         * @param value the string that may contain email addresses
         * @return string with email addresses replaced by masked pattern
         */
        public static String maskEmail(final String value) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        protected int max_recv = max_xmit;
        /**
         * The current state of the DCERPC connection
         */
        protected int state = 0;
        /**
         * The security provider for authentication and message protection
         */
        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
        @DisplayName("Test buffer overflow protection")
        void testBufferOverflowProtection() {
            byte[] smallBuffer = new byte[23]; // One byte too small
    
            // Should throw ArrayIndexOutOfBoundsException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                buf.setIndex(0);
                this.securityProvider.wrap(buf);
            }
            return buf;
        }
    
        /**
         * Sets the DCERPC security provider for authentication and message protection
         * @param securityProvider the security provider to use for DCERPC authentication
         */
        public void setDcerpcSecurityProvider(final DcerpcSecurityProvider securityProvider) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle buffer overflow protection")
            void testBufferOverflowProtection() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
        @DisplayName("Test buffer overflow protection")
        void testBufferOverflowProtection() {
            byte[] smallBuffer = new byte[23]; // One byte too small
    
            // Should throw ArrayIndexOutOfBoundsException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                // Verify structure integrity with maximum values
                assertEquals(49, SMBUtil.readInt2(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle buffer overflow protection")
            void testBufferOverflowProtection() {
                request.setReadLength(65536);
    
                byte[] smallBuffer = new byte[48]; // Smaller than required 49 bytes
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

        /**
         * Enforce secure negotiation
         *
         * Property {@code jcifs.smb.client.requireSecureNegotiate} (boolean, default true)
         *
         * This does not provide any actual downgrade protection if SMB1 is allowed.
         *
         * It will also break connections with SMB2 servers that do not properly sign error responses.
         *
         * @return whether to enforce the use of secure negotiation.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top