Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for transportContext (0.26 seconds)

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

        }
    
        /**
         * @return
         */
        private CIFSContext getTransportContext() {
            if (this.transportContext == null) {
                this.transportContext = SingletonContext.getInstance();
            }
            return this.transportContext;
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

                return new Type3Message(this.transportContext, msg2, this.targetName, this.auth.getNTHash(), this.auth.getUserDomain(),
                        this.auth.getUsername(), this.workstation, this.ntlmsspFlags);
            }
    
            // Use secure password handling
            String passwordString = null;
            if (this.auth.isGuest()) {
                passwordString = this.transportContext.getConfig().getGuestPassword();
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  3. src/main/java/jcifs/http/Handler.java

         * "java.protocol.handler.pkgs".
         */
        private static final String[] JVM_VENDOR_DEFAULT_PKGS = { "sun.net.www.protocol" };
    
        private static URLStreamHandlerFactory factory;
    
        private final CIFSContext transportContext;
    
        /**
         * Sets the URL stream handler factory for the environment. This
         * allows specification of the factory used in creating underlying
         * stream handlers. This can be called once per JVM instance.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

        private boolean insecureBasic;
    
        /** The authentication realm */
        private String realm;
    
        /** The CIFS context for transport operations */
        private CIFSContext transportContext;
    
        @Override
        public void init(final ServletConfig config) throws ServletException {
            super.init(config);
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (1)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            final NodeStatusRequest request = new NodeStatusRequest(this.transportContext.getConfig(),
                    new Name(this.transportContext.getConfig(), NbtAddress.ANY_HOSTS_NAME, 0x00, null));
            request.addr = addr.toInetAddress();
    
            int n = this.transportContext.getConfig().getNetbiosRetryCount();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

                        styleField.setAccessible(true);
                        styleField.set(this, "test_style");
    
                        java.lang.reflect.Field transportContextField = NetworkExplorer.class.getDeclaredField("transportContext");
                        transportContextField.setAccessible(true);
                        transportContextField.set(this, SingletonContext.getInstance());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        private DcerpcSecurityProvider securityProvider = null;
        private final CIFSContext transportContext;
    
        /**
         * Constructs a DcerpcHandle with the specified CIFS context
         *
         * @param tc
         *            the CIFS context for this handle
         */
        public DcerpcHandle(final CIFSContext tc) {
            this.transportContext = tc;
            this.binding = null;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                reconnect();
                if (message == null) {
                    message = new Type1Message(this.transportContext);
                    if (this.transportContext.getConfig().getLanManCompatibility() > 2) {
                        message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true);
                    }
                } else if (this.transportContext.getCredentials() instanceof NtlmPasswordAuthentication) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

        private String domainController;
        private boolean loadBalance;
        private boolean enableBasic;
        private boolean insecureBasic;
        private String realm;
    
        private CIFSContext transportContext;
        private Address[] dcList = null;
        private long dcListExpiration;
    
        private int netbiosLookupRespLimit = 3;
        private long netbiosCacheTimeout = 60 * 60 * 10;
        private static int dcListCounter;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbSessionImplTest.java

        void testGettersAndState() {
            SmbSessionImpl session = newSession();
    
            // Basic getters
            assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext");
            assertEquals("EXAMPLE", session.getTargetDomain());
            assertEquals("server.example", session.getTargetHost());
            assertTrue(session.isInUse(), "New session starts in-use (usageCount=1)");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top