Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for url (0.16 sec)

  1. src/main/java/jcifs/smb1/Config.java

         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.<init>(URL.java:480)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

                    Assume.assumeTrue(false);
                }
                throw e;
            }
        }
    
    
        protected void testCredentialUrl ( String url, String user, String pass, String dom ) throws SmbException, MalformedURLException {
            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        private byte[] tmp = new byte[8];
        private SmbComWriteAndXResponse write_andx_resp = null;
    
        public SmbRandomAccessFile( String url, String mode, int shareAccess )
                throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url, "", null, shareAccess ), mode );
        }
        public SmbRandomAccessFile( SmbFile file, String mode )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * Get a handle to a service
         * 
         * @param url
         * @param tc
         *            context to use
         * @return a DCERPC handle for the given url
         * @throws MalformedURLException
         * @throws DcerpcException
         */
        public static DcerpcHandle getHandle ( String url, CIFSContext tc ) throws MalformedURLException, DcerpcException {
            return getHandle(url, tc, false);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                if (user == null) {
                    if (!allowUserInteraction) return null;
                    try {
                        URL url = getURL();
                        String protocol = url.getProtocol();
                        int port = url.getPort();
                        if (port == -1) {
                            port = "https".equalsIgnoreCase(protocol) ? 443 : 80;
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * an SMB server represented by the {@link jcifs.smb.SmbFile} parameter. See
         * {@link jcifs.smb.SmbFile} for a detailed description and examples of
         * the smb URL syntax.
         *
         * @param file
         *            An <code>SmbFile</code> specifying the file to write to
         * @throws SmbException
         */
        public SmbFileOutputStream ( SmbFile file ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

        private boolean smb2;
    
    
        /**
         * @param url
         * @param tc
         *            context to use
         * @throws SmbException
         * @throws MalformedURLException
         */
        @SuppressWarnings ( "resource" )
        public SmbFileInputStream ( String url, CIFSContext tc ) throws SmbException, MalformedURLException {
            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        boolean hashesExternal = false;
        byte[] clientChallenge = null;
        byte[] challenge = null;
    
    /**
     * Create an <tt>NtlmPasswordAuthentication</tt> object from the userinfo
     * component of an SMB URL like "<tt>domain;user:pass</tt>". This constructor
     * is used internally be jCIFS when parsing SMB URLs.
     */
    
        public NtlmPasswordAuthentication( String userInfo ) {
            domain = username = password = null;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

                    b.createNewFile();
                    c.createNewFile();
    
                    CIFSContext tc = withTestNTLMCredentials(ctx);
    
                    String url = getTestShareURL() + f.getName() + "a/";
    
                    try ( SmbFile f2 = new SmbFile(url, tc) ) {
                        f2.list();
                    }
                }
                finally {
                    f.delete();
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top