Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 219 for nerede (1.84 sec)

  1. src/main/java/jcifs/smb/Kerb5Authenticator.java

         */
        protected void setSubject(Subject subject) {
            this.subject = subject;
        }
    
        @Override
        public void refresh() throws CIFSException {
            // custom Kerb5Authenticators need to override this method for support
            throw new SmbUnsupportedOperationException("Refreshing credentials is not supported by this authenticator");
        }
    
        @Override
        public Kerb5Authenticator clone() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            normalizedPath = noUncValidator.validatePath("////server//share");
            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
            // to preserve the leading double backslash for UNC paths
        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode minimum buffer size")
            void testDecodeMinimumBufferSize() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[12]; // Exact size needed
                SMBUtil.writeInt4(3, buffer, 0);
                SMBUtil.writeInt4(4096, buffer, 4);
                SMBUtil.writeInt4(12288, buffer, 8);
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                // Clean up temporary directory
                deleteDirectory(tempDir);
            }
        }
    
        @BeforeEach
        void setupTest() throws Exception {
            // No specific setup needed - tests will create their own files
            log.debug("Test setup completed");
        }
    
        @AfterEach
        void cleanupTest() throws Exception {
            // Simple cleanup between tests
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

            TreeConnectResponse response = null;
            try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) {
                synchronized (transport) {
    
                    // this needs to be done before the reference to the remote hostname later
                    transport.ensureConnected();
    
                    if (waitForState(transport) == 2) {
                        // already connected
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        @Test
        @DisplayName("Should handle offset exceeding buffer")
        void testOffsetExceedsBuffer() {
            // Given
            byte[] buffer = new byte[20];
            int offset = 10; // Only 10 bytes remaining, need 16
            SMBUtil.writeInt2(16, buffer, offset); // Write valid structure size
    
            // When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertArrayEquals(newFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test edge case with minimum buffer size")
        void testMinimumBufferSize() {
            byte[] buffer = new byte[24]; // Exact size needed
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
    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/main/java/jcifs/http/NtlmHttpFilter.java

            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        //                                                                              ======
        // to suppress unexpected override by sub-class
        // you should remove the 'final' if you need to override this
        /**
         * Hook method called before action execution.
         * This method refreshes the user information if a user is logged in
         * and delegates to the view helper's action hook.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top