Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for BASIC (0.02 sec)

  1. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        /** Configuration key for allowing unsecure basic authentication. */
        protected static final String SPNEGO_ALLOW_UNSECURE_BASIC = "spnego.allow.unsecure.basic";
    
        /** Configuration key for allowing basic authentication. */
        protected static final String SPNEGO_ALLOW_BASIC = "spnego.allow.basic";
    
        /** Configuration key for pre-authentication password. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  2. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.doFilter(request, response, filterChain);
    
            // Should only offer NTLM, not Basic auth
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response, never()).addHeader(eq("WWW-Authenticate"), eq("Basic realm=\"TestRealm\""));
        }
    
        @Test
        void testDoFilter_ntlmType1Message() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

         */
        private byte[] createLargeBufferForContexts() {
            byte[] buffer = new byte[1024]; // Large enough for contexts
    
            // Copy basic structure
            byte[] basic = createBasicNegotiateResponseBuffer();
            System.arraycopy(basic, 0, buffer, 0, basic.length);
    
            return buffer;
        }
    
        /**
         * Creates a completely valid negotiate response buffer for positive testing.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

                verify(session, never()).setAttribute(anyString(), any());
            }
        }
    
        /**
         * Test the service method with a valid Basic Authorization header.
         * Simulates a successful Basic authentication.
         * @throws ServletException
         * @throws IOException
         * @throws CIFSException
         */
        @Test
        void testService_BasicAuth_Success() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * This is a simplified test that verifies the basic flow without full NTLM protocol simulation.
         * @throws IOException
         * @throws SecurityException
         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
            // Full NTLM handshake testing would require more complex mocking
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        /** The NTLM SSP handler */
        private NtlmSsp ntlmSsp;
        /** Flag indicating if credentials were supplied */
        private boolean credentialsSupplied;
        /** Flag to enable basic authentication */
        private boolean enableBasic;
        /** Flag to allow insecure basic authentication */
        private boolean insecureBasic;
        /** The authentication realm */
        private String realm;
        /** The default domain for authentication */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to {@code Authentication:
     * BASIC} but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

        private String style;
        /** Flag indicating if credentials were supplied */
        private boolean credentialsSupplied;
        /** Flag to enable basic authentication */
        private boolean enableBasic;
        /** Flag to allow insecure basic authentication */
        private boolean insecureBasic;
        /** The authentication realm */
        private String realm;
        /** The default domain for authentication */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

        }
    
        /**
         * Test Basic authentication when enabled
         */
        @Test
        void testDoGet_BasicAuth() throws Exception {
            // Initialize with Basic auth enabled
            initializeNetworkExplorer(true, "TestRealm");
    
            // Test with no auth - should request Basic
            when(request.getHeader("Authorization")).thenReturn(null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to {@code Authentication:
     * BASIC} but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> for
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top