@ 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 ) ) { t . treeConnect ( null , null ) ; } catch ( CIFSException e ) { throw SmbException . wrap ( e ) ; } }
Establish a tree connection with the configured logon share