Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for myobject (0.22 sec)

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

                log.trace("exists:", se);
                switch ( se.getNtStatus() ) {
                case NtStatus.NT_STATUS_NO_SUCH_FILE:
                case NtStatus.NT_STATUS_OBJECT_NAME_INVALID:
                case NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND:
                case NtStatus.NT_STATUS_OBJECT_PATH_NOT_FOUND:
                    break;
                default:
                    throw se;
                }
            }
            catch ( CIFSException e ) {
    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)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

            return this.share.equalsIgnoreCase(shr) && ( servc == null || servc.startsWith("??") || this.service.equalsIgnoreCase(servc) );
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SmbTreeImpl ) {
                SmbTreeImpl tree = (SmbTreeImpl) obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/ASN1Util.java

    
        /**
         * 
         * @param type
         * @param object
         * @return object cast to type
         * @throws PACDecodingException
         */
        public static <T> T as ( Class<T> type, Object object ) throws PACDecodingException {
            if ( !type.isInstance(object) ) {
                throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass());
            }
    
            return type.cast(object);
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

            lc.login();
            this.subject = lc.getSubject();
        }
    
    
        public KerberosKey[] getKeys () {
            List<Key> serverKeys = new ArrayList<>();
    
            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for ( Object credential : serverPrivateCredentials )
                if ( credential instanceof KerberosKey )
                    serverKeys.add((KerberosKey) credential);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                switch (se.getNtStatus()) {
                    case NtStatus.NT_STATUS_NO_SUCH_FILE:
                    case NtStatus.NT_STATUS_OBJECT_NAME_INVALID:
                    case NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND:
                    case NtStatus.NT_STATUS_OBJECT_PATH_NOT_FOUND:
                        break;
                    default:
                        throw se;
                }
            }
    
    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)
  6. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                if ( !kerberosOid.getId().equals(KerberosConstants.KERBEROS_OID) )
                    throw new PACDecodingException("Not a kerberos token");
    
    
                // yes, there really is non ASN.1/DER data inside the tagged object
                int read = 0;
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                read = ( readHigh << 8 ) + readLow;
                if ( read != 0x01 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
        };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
        private int nbnsIndex = 0;
    
        private final Map<Name, CacheEntry> addressCache = new HashMap<>();
        private final Set<Name> inFlightLookups = new HashSet<>();
    
        private int lport, closeTimeout;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * the andx command will not be written and therefore the
             * response will not read a batched command and therefore
             * the 'received' member of the response object will not
             * be set to true indicating the send and sendTransaction
             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/SessionTest.java

    
        public SessionTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs(
                "smb1",
                "smb1-noSigning",
                "smb1-forceSigning",
                "noSigning",
                "forceSigning",
                "legacyAuth",
    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)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                        this.transport.acquire();
                    }
                }
            }
    
            return this;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize () throws Throwable {
            if ( isConnected() && this.usageCount.get() != 0 ) {
                log.warn("Session was not properly released");
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top