Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for simplified (0.06 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        /**
         * Test a successful NTLM authentication handshake.
         * This is a simplified test that verifies the basic flow without full NTLM protocol simulation.
         * @throws IOException
         * @throws SecurityException
         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

                        if (localAddress != null) {
                            String channelId = sessionId + "-channel-" + i;
    
                            // Create transport for this channel (simplified - in real implementation would be more complex)
                            SmbTransportImpl transport = createChannelTransport(localAddress, serverAddress);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    affectedRegistrations++;
                }
            }
    
            log.debug("Notification affects {} registrations", affectedRegistrations);
        }
    
        /**
         * Main server loop - simplified implementation
         */
        private void runServer() {
            while (running.get() && !serverSocket.isClosed()) {
                try {
                    Socket clientSocket = serverSocket.accept();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            } catch (final NoSuchMethodException e) {
                fail("Constructor with Context parameter should exist");
            }
        }
    
        // Note: This test is simplified because complex Tomcat Context mocking
        // is difficult to maintain due to frequent API changes.
        // The focus is on testing the class structure and basic functionality
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacMac.java

            } finally {
                Arrays.fill(dk, 0, dk.length, (byte) 0);
            }
        }
    
        /**
         * Derives an AES key using the Kerberos key derivation function.
         * This method implements the simplified key derivation for AES encryption types.
         *
         * @param key the base Kerberos key
         * @param constant the key derivation constant
         * @return the derived key bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

            networkExplorer.doGet(request, response);
    
            verify(response).setContentType("application/octet-stream");
        }
    
        /**
         * Test doFile method directly - simplified test
         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         * Test decrypt with RC4 encryption.
         *
         * @throws GeneralSecurityException if a security error occurs
         */
        @Test
        void testDecryptRc4() throws GeneralSecurityException {
            // This is a simplified test and does not use real encrypted data from Kerberos
            // It mainly tests the decryption logic path
            Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/first-steps.md

    But in this case, the same **FastAPI** application will handle the API and the authentication.
    
    So, let's review it from that simplified point of view:
    
    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

            byte[] data = "The quick brown fox jumps over the lazy dog".getBytes();
    
            // Calculate expected HMAC-MD5 using standard Java MessageDigest for comparison
            // This is a simplified HMAC-MD5 calculation for comparison, not a full RFC 2104 implementation.
            // The HMACT64 implementation is what we are testing.
            MessageDigest md5 = MessageDigest.getInstance("MD5");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            } catch (Exception e) {
                // Ignore parsing errors
            }
            return null;
        }
    
        private boolean checkRSSCapability() {
            // Platform-specific RSS detection - simplified implementation
            try {
                NetworkInterface ni = NetworkInterface.getByInetAddress(address);
                return ni != null && ni.supportsMulticast();
            } catch (SocketException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top