Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Auth (0.9 sec)

  1. src/main/java/jcifs/smb/NtlmContext.java

                this.targetName,
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestPassword() : this.auth.getPassword(),
                this.auth.isGuest() ? null : this.auth.getUserDomain(),
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(),
                this.workstation,
                this.ntlmsspFlags,
                this.auth.isGuest() || !this.auth.isAnonymous());
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/KerberosTest.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import javax.security.auth.Subject;
    import javax.security.auth.kerberos.KerberosPrincipal;
    import javax.security.auth.kerberos.KerberosTicket;
    import javax.security.auth.kerberos.KeyTab;
    
    import org.ietf.jgss.GSSException;
    import org.junit.Assume;
    import org.junit.Before;
    import org.junit.Test;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Dfs.java

            if (DISABLED || auth.domain == "?")
                return null;
    
            if (_domains != null && System.currentTimeMillis() > _domains.expiration) {
                _domains = null;
            }
            if (_domains != null)
                return _domains.map;
            try {
                UniAddress addr = UniAddress.getByName(auth.domain, true);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
        synchronized SmbSession getSmbSession( NtlmPasswordAuthentication auth ) {
            SmbSession ssn;
            long now;
    
            ListIterator iter = sessions.listIterator();
            while( iter.hasNext() ) {
                ssn = (SmbSession)iter.next();
                if( ssn.matches( auth )) {
                    ssn.auth = auth;
                    return ssn;
                }
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    auth.getUserSessionKey(transport.getContext(), serverEncryptionKey, this.macSigningKey, 0);
                    break;
                default:
                    this.macSigningKey = new byte[40];
                    auth.getUserSessionKey(transport.getContext(), serverEncryptionKey, this.macSigningKey, 0);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                }
            }
            t = new SmbTree( this, share, service );
            trees.addElement( t );
            return t;
        }
        boolean matches( NtlmPasswordAuthentication auth ) {
            return this.auth == auth || this.auth.equals( auth );
        }
        synchronized SmbTransport transport() {
            if( transport == null ) {
                transport = SmbTransport.getSmbTransport( address, port, localAddr, localPort, null );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                        }
                        PasswordAuthentication auth =
                                Authenticator.requestPasswordAuthentication(null,
                                        port, protocol, "", authMethod);
                        if (auth == null) return null;
                        user = auth.getUserName();
                        password = new String(auth.getPassword());
                    } catch (Exception ex) { }
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ContextConfigTest.java

            props.put("jcifs.smb.client.password", "my-default-password");
    
            CIFSContext auth = new BaseContext(new PropertyConfiguration(props));
            assertTrue(auth.hasDefaultCredentials());
            assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator);
    
            NtlmPasswordAuthenticator pa = (NtlmPasswordAuthenticator) auth.getCredentials();
    
            assertEquals("my-domain", pa.getUserDomain());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                } else {
                    String auth = new String(Base64.decode(msg.substring(6)),
                            "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = (index != -1) ? auth.substring(0, index) : auth;
                    String password = (index != -1) ? auth.substring(index + 1) :
                            "";
                    index = user.indexOf('\\');
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
    
        @Override
        public Kerb5Authenticator clone () {
            Kerb5Authenticator auth = new Kerb5Authenticator(getSubject());
            cloneInternal(auth, this);
            return auth;
        }
    
    
        /**
         * Clone the context
         * 
         * @param to
         * @param from
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
Back to top