Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setDefault (0.2 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

        }
    
    /**
    Set the default <tt>NtlmAuthenticator</tt>. Once the default authenticator is set it cannot be changed. Calling this metho again will have no effect.
     */
    
        public synchronized static void setDefault( NtlmAuthenticator a ) {
            if( auth != null ) {
                return;
            }
            auth = a;
        }
    
        protected final String getRequestingURL() {
            return url;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * 
         * @param a
         */
    
        public synchronized static void setDefault ( NtlmAuthenticator a ) {
            if ( auth != null ) {
                return;
            }
            auth = a;
        }
    
    
        /**
         * 
         * @return the default authentiucation credentials
         */
        public static NtlmAuthenticator getDefault () {
            return auth;
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int TID_OFFSET        = 24;
        static final int HEADER_LENGTH     = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        static final TimeZone TZ = TimeZone.getDefault();
    
        static final boolean USE_BATCHING = Config.getBoolean( "jcifs.smb1.smb.client.useBatching", true );
        static final String OEM_ENCODING = Config.getProperty( "jcifs.smb1.encoding", Config.DEFAULT_OEM_ENCODING );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

            }
    
            this.localPid = (int) ( Math.random() * 65536d );
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  5. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

                if ( renewed != null ) {
                    this.creds = renewed;
                    return true;
                }
            }
            NtlmAuthenticator auth = NtlmAuthenticator.getDefault();
            if ( auth != null ) {
                NtlmPasswordAuthenticator newAuth = NtlmAuthenticator
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Aug 02 08:32:29 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/TimeoutTest.java

        public void testConnectTimeoutRead () throws IOException {
            Set<Thread> threadsBefore = new HashSet<>(Thread.getAllStackTraces().keySet());
            try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) {
                int port = ss.getLocalPort();
                InetAddress addr = ss.getInetAddress();
    
                long start = System.currentTimeMillis();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
Back to top