- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 233 for badBic (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/smb/Kerb5ContextTest.java
void verifyMIC_failure_wraps() throws Exception { byte[] data = new byte[] { 7 }; byte[] mic = new byte[] { 8 }; doThrow(new GSSException(GSSException.BAD_MIC)).when(gssContext) .verifyMIC(any(), anyInt(), anyInt(), any(), anyInt(), anyInt(), any()); CIFSException ex = assertThrows(CIFSException.class, () -> ctx.verifyMIC(data, mic));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertEquals(2000000L, basicInfo.getLastWriteTime()); assertEquals(0L, basicInfo.getSize()); // Basic info always returns 0 for size } @Test @DisplayName("Should generate correct toString for basic info") void testBasicInfoToString() { Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/BasicFileInformation.java
*/ package jcifs.internal.fscc; import jcifs.internal.SmbBasicFileInfo; /** * File System Control Code (FSCC) interface for Basic File Information. * Combines SMB basic file info with FSCC file information capabilities, * providing access to fundamental file metadata used in SMB file system operations. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
private String domainController; /** Flag to enable load balancing across domain controllers */ private boolean loadBalance; /** Flag to enable basic authentication */ private boolean enableBasic; /** Flag to allow insecure basic authentication */ private boolean insecureBasic; /** The authentication realm */ private String realm; @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
*/ @Test void testByteArrayConstructorTooManySubAuthorities() { byte[] badSid = new byte[10]; badSid[1] = 101; // sub_authority_count > 100 assertThrows(RuntimeCIFSException.class, () -> new SID(badSid, 0)); } /** * Test constructor that combines a domain SID and an RID. * * @throws SmbException if the SID string is invalid
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.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/main/java/jcifs/http/NtlmServlet.java
private String domainController; /** Flag to enable load balancing across domain controllers */ private boolean loadBalance; /** Flag to enable basic authentication */ private boolean enableBasic; /** Flag to allow insecure basic authentication */ private boolean insecureBasic; /** The authentication realm */ private String realm; /** The CIFS context for transport operations */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
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)