Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 101 for ntlm (0.03 seconds)

  1. src/main/java/jcifs/smb1/http/Handler.java

    import java.net.URLStreamHandler;
    import java.net.URLStreamHandlerFactory;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTP handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends URLStreamHandler {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/http/Handler.java

    import java.util.Map;
    import java.util.StringTokenizer;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTP handler. This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     *
    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)
  3. src/test/java/jcifs/SmbTransportPoolTest.java

                // When & Then
                assertThrows(CIFSException.class, () -> transportPool.logon(context, address));
            }
    
            @Test
            @DisplayName("Should get NTLM challenge with address")
            void testGetChallengeWithAddress() throws CIFSException {
                // Given
                byte[] expectedChallenge = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/HandlerTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    
    /**
     * Tests for the {@link Handler} class.
     * This class tests the functionality of the NTLM URLStreamHandler wrapper.
     */
    @ExtendWith(MockitoExtension.class)
    class HandlerTest {
    
        @Mock
        private CIFSContext mockCifsContext;
    
        private Handler handler;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                return entity;
            });
        }
    
        /**
         * Registers available protocol scheme items for web authentication forms.
         * Includes Basic, Digest, NTLM, and Form authentication schemes.
         *
         * @param data the render data to register the protocol scheme items with
         */
        protected void registerProtocolSchemeItems(final RenderData data) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         * Constructs a signing digest from transport and authentication information
         *
         * @param transport
         *            The SMB transport containing server encryption key
         * @param auth
         *            The NTLM password authenticator containing user credentials
         * @throws SmbException
         *             If there is an error setting up the signing digest
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] r15 = NtlmUtil.getPreNTLMResponse(cifsContext, password15, challenge);
    
            // Assert: equal because only first 14 OEM bytes are used
            assertArrayEquals(r14, r15, "Only first 14 OEM bytes affect Pre-NTLM response");
            assertEquals(24, r14.length);
    
            // Verify collaborator interactions
            verify(cifsContext, atLeastOnce()).getConfig();
            verify(configuration, atLeastOnce()).getOemEncoding();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            final String[] arr = new String[4];
            final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for (;;) {
                /* NTLM HTTP Authentication must be re-negotiated
                 * with challenge from 'server' to access DFS vol. */
                dr.resolveHashes = auth.hashesExternal;
                dr.ttl = resp.referrals[di].ttl;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
         * @param url the DCERPC URL to connect to
         * @param auth the NTLM authentication credentials
         * @return a DCERPC handle for the connection
         * @throws UnknownHostException if the host cannot be resolved
         * @throws MalformedURLException if the URL is malformed
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/Constants.java

        public static final String BASIC = "BASIC";
    
        /** Digest authentication type identifier. */
        public static final String DIGEST = "DIGEST";
    
        /** NTLM authentication type identifier. */
        public static final String NTLM = "NTLM";
    
        /** Form-based authentication type identifier. */
        public static final String FORM = "FORM";
    
        /** Samba authentication type identifier. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
Back to Top