Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BaseContext (0.13 sec)

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

    /**
     * Base implementation of CIFS context providing core functionality for SMB operations.
     * This class serves as the foundation for context implementations in the jCIFS library.
     *
     * @author mbechler
     */
    public class BaseContext extends AbstractCIFSContext {
    
        private final Configuration config;
        private final DfsResolver dfs;
        private final SidResolver sidResolver;
        private final Handler urlHandler;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmServlet.java

    import jakarta.servlet.http.HttpSession;
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  4. src/main/java/jcifs/context/SingletonContext.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.config.PropertyConfiguration;
    
    /**
     * Global singleton context
     *
     * @author mbechler
     *
     */
    public class SingletonContext extends BaseContext implements CIFSContext {
    
        private static final Logger log = LoggerFactory.getLogger(SingletonContext.class);
        private static SingletonContext INSTANCE;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/CIFSContext.java

     * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)}
     * allow to create such sub-contexts.
     *
     *
     * Implementors of this interface should extend {@link jcifs.context.BaseContext} or
     * {@link jcifs.context.CIFSContextWrapper} to get forward compatibility.
     *
     * @author mbechler
     *
     */
    public interface CIFSContext {
    
        /**
         * Get a resource
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

     * This class now contains only utilities for config parsing.
     *
     * We strongly suggest that you create an explicit {@link jcifs.context.CIFSContextWrapper}
     * with your desired config. It's base implementation {@link jcifs.context.BaseContext}
     * should be sufficient for most needs.
     *
     * If you want to retain the classic singleton behavior you can use
     * {@link jcifs.context.SingletonContext#getInstance()}
     * witch is initialized using system properties.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top