- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 772 for crealm (0.82 sec)
-
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
assert (str.startsWith("TransTransactNamedPipeResponse[")); assert (str.endsWith("]")); } } // We need to add a helper method to TransTransactNamedPipeResponse to make the test more precise // Or create a visible subclass for testing. // For now, let's assume we can modify the original class slightly for testability, // or we accept the less precise testToStringFormat test.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
insecureBasic = Boolean.parseBoolean(Config.getProperty("jcifs.smb1.http.insecureBasic")); realm = Config.getProperty("jcifs.smb1.http.basicRealm"); if (realm == null) { realm = "jCIFS"; } } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
private NtlmPasswordAuthentication mockAuth; private SmbComSessionSetupAndX setupAndX; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Create a real ServerData instance as it's not mockable (inner class) SmbTransport.ServerData serverData = mockTransport.new ServerData(); serverData.security = ServerMessageBlock.SECURITY_USER;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
* This demonstrates mocking capabilities for testing. */ @Test @DisplayName("Mock interaction example with SmbTransport") void mockTransportInteraction() { // Create a mock of SmbTransport from jcifs package jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class); // Stub the getRemoteHostName method when(mock.getRemoteHostName()).thenReturn("test-host");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
@DisplayName("getUserDomain: explicit realm overrides") void getUserDomain_fromExplicitRealm() { Kerb5Authenticator auth = new Kerb5Authenticator(new Subject()); auth.setRealm("REALM.TEST"); assertEquals("REALM.TEST", auth.getUserDomain()); } @Test @DisplayName("getUserDomain: falls back to super domain when no realm/subject")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
try { // Create temporary directory structure for SMB shares Path tempDir = Files.createTempDirectory("smbtest"); // Create directory structure Files.createDirectories(tempDir.resolve("public")); Files.createDirectories(tempDir.resolve("shared")); // Create some initial filesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
this.insecureBasic = Config.getBoolean(p, "jcifs.http.insecureBasic", false); this.realm = p.getProperty("jcifs.http.basicRealm"); if (this.realm == null) { this.realm = "jCIFS"; } this.defaultDomain = p.getProperty("jcifs.smb.client.domain");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
this.insecureBasic = Boolean.parseBoolean(p.getProperty("jcifs.http.insecureBasic")); this.realm = p.getProperty("jcifs.http.basicRealm"); if (this.realm == null) { this.realm = "jCIFS"; } this.transportContext = new BaseContext(new PropertyConfiguration(p)); } catch (final CIFSException ex) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
@Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:"); tree.connectionState = 2; // Connected state tree.tid = 123; // Create real request and response objects since they're not interfaces ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null); ServerMessageBlock response = new SmbComOpenAndXResponse();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
/** * Sent by the server in the Type 2 message to indicate that the * target authentication realm is a domain. */ int NTLMSSP_TARGET_TYPE_DOMAIN = 0x00010000; /** * Sent by the server in the Type 2 message to indicate that the * target authentication realm is a server. */ int NTLMSSP_TARGET_TYPE_SERVER = 0x00020000; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)