Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for equals (0.7 sec)

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

     * equality. Two <tt>NtlmPasswordAuthentication</tt> objects are equal if
    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)
  2. src/main/java/jcifs/smb/DfsImpl.java

                }
            }
    
            if ( log.isTraceEnabled() ) {
                log.trace("Have DC referral " + dr);
            }
    
            if ( dr != null && domain.equals(dr.getServer()) && root.equals(dr.getShare()) ) {
                // If we do cache these we never get to the properly cached
                // standalone referral we might have.
                log.warn("Dropping self-referential referral " + dr);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

         * @throws SmbException
         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                    if ( !pvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
                        throw new PACDecodingException("Invalid kerberos version");
                    }
                    break;
                case 1:
                    ASN1Integer msgType = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !msgType.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_AP_REQ)) )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTree.java

            return this.share.equalsIgnoreCase( share ) &&
                    ( service == null || service.startsWith( "??" ) ||
                    this.service.equalsIgnoreCase( service ));
        }
        public boolean equals(Object obj) {
            if (obj instanceof SmbTree) {
                SmbTree tree = (SmbTree)obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                switch ( tagged.getTagNo() ) {
                case 0:// Kerberos version
                    ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !tktvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
                        throw new PACDecodingException("Invalid kerberos version " + tktvno);
                    }
                    break;
                case 1:// Realm
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/Handler.java

                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) continue;
                        String className = provider + "." + protocol + ".Handler";
                        try {
                            Class handlerClass = null;
                            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

                    String path,
                    NtlmPasswordAuthentication auth) throws SmbAuthException {
            DfsReferral dr = null;
            long now = System.currentTimeMillis();
    
            if (DISABLED || root.equals("IPC$")) {
                return null;
            }
            /* domains that can contain DFS points to maps of roots for each
             */
            HashMap domains = getTrustedDomains(auth);
            if (domains != null) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.equals(((UniAddress)obj).addr);
        }
    /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

        }
    
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof UniAddress && this.addr.equals( ( (UniAddress) obj ).addr);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
Back to top