Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for CIFSContext (0.05 sec)

  1. src/main/java/jcifs/context/AbstractCIFSContext.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#withDefaultCredentials()
         */
        @Override
        public CIFSContext withDefaultCredentials() {
            return withCredentials(getDefaultCredentials());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#withGuestCrendentials()
         */
        @Override
        public CIFSContext withGuestCrendentials() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        /** The CIFS context for this authentication */
        private CIFSContext context;
    
        /**
         *
         */
        private NtlmPasswordAuthentication() {
        }
    
        /**
         * Construct anonymous credentials
         *
         * @param tc the CIFS context to use
         */
        public NtlmPasswordAuthentication(final CIFSContext tc) {
            this(tc, "", "", "");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Verify source exists
            CIFSContext verifyContext = createFreshContext();
            SmbFile verifySource = new SmbFile(baseUrl + "shared/" + sourceFileName, verifyContext);
            assertTrue(verifySource.exists(), "Source file should exist");
    
            // Perform rename using copy+delete as this is more reliable with Docker/Samba
            CIFSContext renameContext = createFreshContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

                transportContextField.set(ntlmServlet, cifsContext);
            } catch (Exception e) {
                throw new RuntimeException("Failed to inject mock CIFSContext", e);
            }
    
            when(cifsContext.getTransportPool()).thenReturn(transportPool);
            when(cifsContext.getNameServiceClient()).thenReturn(nameServiceClient);
            lenient().when(cifsContext.getConfig()).thenReturn(configuration);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.util.Encdec;
    
    @ExtendWith(MockitoExtension.class)
    class NtlmUtilTest {
    
        @Mock
        CIFSContext cifsContext;
    
        @Mock
        Configuration configuration;
    
        // Helper: decode hex string to bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  6. README.md

    }
    ```
    
    ### With Authentication
    
    ```java
    import jcifs.CIFSContext;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthenticator;
    
    // Create context with credentials
    CIFSContext context = new BaseContext(new jcifs.config.PropertyConfiguration());
    NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("domain", "username", "password");
    CIFSContext authContext = context.withCredentials(auth);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        /**
         * The SMB authentication holder.
         */
        protected volatile SmbAuthenticationHolder smbAuthenticationHolder;
    
        /**
         * The CIFS context.
         */
        protected CIFSContext cifsContext;
    
        /**
         * Creates a new SmbClient instance.
         */
        public SmbClient() {
            super();
        }
    
        /**
        * Initializes the SMB client.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

    import org.junit.jupiter.api.Timeout;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Simple memory management tests to validate basic resource cleanup functionality
     */
    public class SimpleMemoryManagementTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SIDCacheImpl.java

                }
            }
    
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.SidResolver#getLocalGroupsMap(jcifs.CIFSContext, java.lang.String, int)
         */
        @Override
        public Map<jcifs.SID, List<jcifs.SID>> getLocalGroupsMap(final CIFSContext tc, final String authorityServerName, final int flags)
                throws CIFSException {
            final SID domSid = getServerSid(tc, authorityServerName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top