Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for BaseContext (0.11 sec)

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

    import jcifs.smb.SIDCacheImpl;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbTransportPoolImpl;
    
    
    /**
     * @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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

                | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_NEGOTIATE_ALWAYS_SIGN | NtlmFlags.NTLMSSP_REQUEST_TARGET;
    
        protected BaseContext cifsContext;
    
        public JcifsEngine(final Properties props) {
            try {
                cifsContext = new BaseContext(new PropertyConfiguration(props));
            } catch (final CIFSException e) {
                throw new CrawlingAccessException(e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/NamingTest.java

            prop.setProperty("jcifs.netbios.wins", getRequiredProperty("jcifs.netbios.wins"));
    
            PropertyConfiguration cfg = new PropertyConfiguration(prop);
            BaseContext c = new BaseContext(cfg);
    
            c.getNameServiceClient().getByName(getRequiredProperty("test.server.netbios"));
            c.getNameServiceClient().getAllByName(getRequiredProperty("test.server.netbios"), true);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/BaseCIFSTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.SmbResource;
    import jcifs.config.DelegatingConfiguration;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.context.CIFSContextWrapper;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbFile;
    
    
    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( "javadoc" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmServlet.java

    import org.bouncycastle.util.encoders.Base64;
    
    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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  6. internal/http/server.go

    	srv.TLSConfig = cfg
    	return srv
    }
    
    // UseBaseContext use custom base context for this HTTP *Server
    func (srv *Server) UseBaseContext(ctx context.Context) *Server {
    	srv.BaseContext = func(listener net.Listener) context.Context {
    		return ctx
    	}
    	return srv
    }
    
    // UseCustomLogger use customized logger for this HTTP *Server
    func (srv *Server) UseCustomLogger(l *log.Logger) *Server {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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
         * 
         * @param url
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  8. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Config.java

     * 
     * 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
Back to top