- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for treeConnectLogon (0.16 sec)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@Test @DisplayName("treeConnectLogon performs call without exception") void treeConnectLogon_happy() throws SmbException { // doNothing by default session.treeConnectLogon(); verify(session, times(1)).treeConnectLogon(); } // Error propagation: connect to logon share throws SmbException @Test @DisplayName("treeConnectLogon throws SmbException when underlying call fails")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
@ParameterizedTest @NullAndEmptySource @DisplayName("treeConnectLogon: invalid logon share throws SmbException") void testTreeConnectLogonInvalid(String logonShare) { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn(logonShare); assertThrows(SmbException.class, session::treeConnectLogon); verify(session, never()).getSmbTree(anyString(), isNull()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
* @return the transport for this session */ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /** * Gets or creates an SMB tree connection for the specified share and service. * * @param share the share name to connect to
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} else { try (SmbSessionInternal ssn = trans.getSmbSession(tf.withDefaultCredentials()).unwrap(SmbSessionInternal.class)) { ssn.treeConnectLogon(); } } return new NtlmChallenge(trans.getServerEncryptionKey(), dc); } catch (final SmbException e) { throw e; } catch (final IOException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
return t; } } /** * Establish a tree connection with the configured logon share * * @throws SmbException */ @Override public void treeConnectLogon() throws SmbException { String logonShare = getContext().getConfig().getLogonShare(); if (logonShare == null || logonShare.isEmpty()) { throw new SmbException("Logon share is not defined");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)