Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setForceFallback (0.21 sec)

  1. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Enable NTLM fallback by providing NTLM creds in constructor
            Kerb5Authenticator auth = new Kerb5Authenticator(new Subject(), "DOM", "user", "pass");
            auth.setForceFallback(true);
    
            // Token advertising Kerberos mech (so foundKerberos == true), but forceFallback should still route to NTLM
            byte[] init = spnegoInitWithMechs(Kerb5Context.SUPPORTED_MECHS);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

            this.subject = subject;
        }
    
        /**
         * Testing only: force fallback to NTLM
         *
         * @param forceFallback
         *            the forceFallback to set
         */
        public void setForceFallback(boolean forceFallback) {
            this.forceFallback = forceFallback;
        }
    
        /**
         *
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top