Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for username (0.16 sec)

  1. src/main/java/jcifs/Configuration.java

         * Property <tt>jcifs.smb.client.domain</tt>
         * 
         * @return default credentials, domain name
         */
        String getDefaultDomain ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.username</tt>
         * 
         * @return default credentials, user name
         */
        String getDefaultUsername ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.password</tt>
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ContextConfigTest.java

        // #324
        public void testDefaultCredentials() throws CIFSException
        {
            Properties props = new Properties();
            props.put("jcifs.smb.client.domain", "my-domain");
            props.put("jcifs.smb.client.username", "my-default-user-id");
            props.put("jcifs.smb.client.password", "my-default-password");
    
            CIFSContext auth = new BaseContext(new PropertyConfiguration(props));
            assertTrue(auth.hasDefaultCredentials());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

            this.logonShare = p.getProperty("jcifs.smb.client.logonShare", null);
    
            this.defaultDomain = p.getProperty("jcifs.smb.client.domain", null);
            this.defaultUserName = p.getProperty("jcifs.smb.client.username", null);
            this.defaultPassword = p.getProperty("jcifs.smb.client.password", null);
    
            this.netbiosHostname = p.getProperty("jcifs.netbios.hostname", null);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

     * is the usage of a URL scheme [1] to specify the target file or
     * directory. SmbFile URLs have the following syntax:
     *
     * <blockquote>
     * 
     * <pre>
     *     smb://[[[domain;]username[:password]@]server[:port]/[[share/[dir/]file]]][?param=value[param2=value2[...]]]
     * </pre>
     * 
     * </blockquote>
     *
     * This example:
     *
     * <blockquote>
     * 
     * <pre>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * credentials with this file or pipe. This can be used to retrieve the
     * username for example:
     * <tt>
     * String username = f.getPrincipal().getName();
     * </tt>
     * The <tt>Principal</tt> object returned will never be <tt>null</tt>
     * however the username can be <tt>null</tt> indication anonymous
     * credentials were used (e.g. some IPC$ services).
     */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top