Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isEmpty (0.27 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                        keysByAlgo.put(key.getKeyType(), key);
                    }
    
                    KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue());
                    if ( keysByAlgo.isEmpty() || serverKey == null ) {
                        throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue());
                    }
    
                    try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

            if ( tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null || tf.getCredentials().getUserDomain().isEmpty() ) {
                return null;
            }
    
            if ( this._domains != null && System.currentTimeMillis() > this._domains.expiration ) {
                this._domains = null;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NetServerEnumIterator.java

            this.nameFilter = filter;
            SmbResourceLocator locator = parent.getLocator();
            this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP;
            if ( locator.getURL().getHost().isEmpty() ) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
                this.response = new NetServerEnum2Response(th.getConfig());
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

         */
        public byte[] toByteArray () {
            return toByteArray(this);
        }
    
    
        /**
         * 
         * @return whether the SID is empty (no sub-authorities)
         */
        public boolean isEmpty () {
            return this.sub_authority_count == 0;
        }
    
    
        /**
         * 
         * @return whether the SID is blank (all sub-authorities zero)
         */
        public boolean isBlank () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    wildcard = dff.wildcard;
                searchAttributes = dff.attributes;
            }
            SmbResourceLocator locator = parent.getLocator();
            if ( locator.getURL().getHost().isEmpty() ) {
                // smb:// -> enumerate servers through browsing
                Address addr;
                try {
                    addr = locator.getAddress();
                }
                catch ( CIFSException e ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                throw new UnknownHostException(
                    "no name with type 0x" + Hexdump.toHexString(addr.getNameType(), 2)
                            + ( ( ( addr.getName().getScope() == null ) || ( addr.getName().getScope().isEmpty() ) ) ? " with no scope"
                                    : " with scope " + addr.getName().getScope() )
                            + " for host " + addr.getHostAddress());
            }
        }
    
    
        /**
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

            }
        }
    
    
        protected void initProtocolVersions ( String minStr, String maxStr ) {
            DialectVersion min = ( minStr != null && !minStr.isEmpty() ) ? DialectVersion.valueOf(minStr) : null;
            DialectVersion max = ( maxStr != null && !maxStr.isEmpty() ) ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    if (log.level >= 3)
                        ioe.printStackTrace(log);
                    last = ioe;
                }
                addr = getNextAddress();
            }
    
            if (last != null && map.isEmpty()) {
                if (last instanceof SmbException == false)
                    throw new SmbException(url.toString(), last);
                throw (SmbException)last;
            }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  9. src/test/java/jcifs/tests/AllTests.java

            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
                  InputStream is = Channels.newInputStream(ch) ) {
                props.load(is);
    
            }
            if ( !props.isEmpty() ) {
                Map<String, String> map = toMap(props);
                String cfgname = fname.substring(0, fname.length() - 5);
                configs.put(cfgname, map);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            if ( "guest".equalsIgnoreCase(this.username) ) {
                t = AuthenticationType.GUEST;
            }
            else if ( ( getUserDomain() == null || getUserDomain().isEmpty() ) && getUsername().isEmpty() && ( getPassword().isEmpty() ) ) {
                t = AuthenticationType.NULL;
            }
            return t;
        }
    
    
        @SuppressWarnings ( "unchecked" )
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
Back to top