Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 191 for CIFSContext (0.17 seconds)

  1. src/main/java/jcifs/DfsResolver.java

         */
        boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Get a connection to the domain controller for a given domain
         *
         * @param tf the CIFS context
         * @param domain the domain name
         * @return connection to the domain controller
         * @throws CIFSException if the connection fails
         */
        SmbTransport getDc(CIFSContext tf, String domain) throws CIFSException;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

        public boolean isGroupAddress(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.groupName;
        }
    
        @Override
        public int getNodeType(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.nodeType;
        }
    
        @Override
        public boolean isBeingDeleted(final CIFSContext tc) throws UnknownHostException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/netbios/Lmhosts.java

         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
            NbtAddress result = null;
    
            try {
                if (tc.getConfig().getLmHostsFileName() != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/context/CIFSContextWrapperTest.java

    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    class CIFSContextWrapperTest {
    
        private CIFSContext mockDelegate;
        private Configuration mockConfiguration;
        private CIFSContextWrapper cifsContextWrapper;
    
        @BeforeEach
        void setUp() {
            mockDelegate = mock(CIFSContext.class);
            mockConfiguration = mock(Configuration.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/NetbiosAddress.java

        boolean isActive(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address is set to be permanent.
         *
         * @param tc
         *            context to use
         * @return whether this address is permanent
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isPermanent(CIFSContext tc) throws UnknownHostException;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/Type3Message.java

    import java.io.IOException;
    import java.security.GeneralSecurityException;
    import java.security.MessageDigest;
    import java.util.LinkedList;
    import java.util.List;
    
    import javax.crypto.Cipher;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbConstants;
    import jcifs.ntlmssp.av.AvFlags;
    import jcifs.ntlmssp.av.AvPair;
    import jcifs.ntlmssp.av.AvPairs;
    import jcifs.ntlmssp.av.AvSingleHost;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/CredentialsInternalTest.java

    import org.mockito.InOrder;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    @ExtendWith(MockitoExtension.class)
    class CredentialsInternalTest {
    
        @Mock
        CIFSContext mockContext;
    
        /**
         * Simple in-test implementation of CredentialsInternal to exercise the API surface.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

         * @see jcifs.DfsResolver#resolve(jcifs.CIFSContext, java.lang.String, java.lang.String, java.lang.String)
         */
        @Override
        public DfsReferralData resolve(final CIFSContext tf, final String domain, final String root, final String path)
                throws SmbAuthException {
            return resolve(tf, domain, root, path, 5);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
Back to Top