- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for Basic (0.1 sec)
-
docs/en/docs/advanced/security/http-basic-auth.md
# HTTP Basic Auth { #http-basic-auth } For the simplest cases, you can use HTTP Basic Auth. In HTTP Basic Auth, the application expects a header that contains a username and a password. If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
} @Test void testGetScore() { NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000); assertTrue(fast.getScore() > basic.getScore()); } @Test void testCapabilitySettings() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
import org.apache.catalina.webresources.StandardRoot; import org.codelibs.fess.unit.UnitFessTestCase; public class FessWebResourceRootTest extends UnitFessTestCase { public void test_classExists() { // Basic test to verify the class exists and has the correct structure assertNotNull("FessWebResourceRoot class should exist", FessWebResourceRoot.class); } public void test_inheritance() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
url = server.url("/api/login?user=test_user&authentication=basic&password=confidential_password") val networkInterceptor = HttpLoggingInterceptor(networkLogs).setLevel( Level.BASIC, ) networkInterceptor.redactQueryParams("user", "passWord") val applicationInterceptor = HttpLoggingInterceptor(applicationLogs).setLevel( Level.BASIC, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
README.md
- **Streaming Operations**: Efficient directory listings and file operations - **Buffer Caching**: Optimized buffer management - **DCE/RPC Protocol**: Support for advanced operations ## Quick Start ### Basic Usage ```java import jcifs.CIFSContext; import jcifs.context.SingletonContext; import jcifs.smb.SmbFile; // Using default context CIFSContext context = SingletonContext.getInstance();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0)