- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getLogonShare (0.09 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
@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()); } @Test
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/test/java/jcifs/ConfigurationTest.java
mockConfig.getSessionTimeout(); mockConfig.getLocalPort(); mockConfig.getLocalAddr(); mockConfig.getNetbiosHostname(); mockConfig.getLogonShare(); mockConfig.getDefaultDomain(); mockConfig.getDefaultUsername(); mockConfig.getDefaultPassword(); mockConfig.getLanManCompatibility();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getNetbiosHostname(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getLogonShare() */ @Override public String getLogonShare() { return this.delegate.getLogonShare(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getDefaultDomain() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(config.getSessionLimit()).thenReturn(10); when(config.isSigningEnforced()).thenReturn(false); when(config.isIpcSigningEnforced()).thenReturn(true); when(config.getLogonShare()).thenReturn("IPC$"); // Default address values when(address.getHostName()).thenReturn("test.host"); when(address.getHostAddress()).thenReturn("192.168.1.100"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertFalse(config.isDfsDisabled()); assertFalse(config.isDfsStrictView()); assertEquals(300L, config.getDfsTtl()); assertFalse(config.isDfsConvertToFQDN()); assertNull(config.getLogonShare()); } @Test @DisplayName("Test authentication configuration getters") void testAuthenticationConfigurationGetters() { assertNull(config.getDefaultDomain());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
* @see jcifs.smb.SmbTreeInternal#connectLogon(jcifs.CIFSContext) */ @Override @Deprecated public void connectLogon(final CIFSContext tf) throws SmbException { if (tf.getConfig().getLogonShare() == null) { try { treeConnect(null, null); } catch (final SmbException e) { throw e; } catch (final CIFSException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
SmbSessionInternal smbSession = smbTransport.getSmbSession(tf, dc.getHostName(), null).unwrap(SmbSessionInternal.class); SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class)) { tree.connectLogon(tf); } } /** * Perform health check on connections */ private void performHealthCheck() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
* * @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"); } try (SmbTreeImpl t = getSmbTree(logonShare, null)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
/** * * Property {@code jcifs.smb.client.logonShare} * * @return share to connect to during authentication, if unset connect to IPC$ */ String getLogonShare(); /** * * * Property {@code jcifs.smb.client.domain} * * @return default credentials, domain name */ String getDefaultDomain(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.dfsTTL; } @Override public boolean isDfsConvertToFQDN() { return this.dfsConvertToFqdn; } @Override public String getLogonShare() { return this.logonShare; } @Override public String getDefaultDomain() { return this.defaultDomain; } @Override public String getDefaultUsername() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)