Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for instanceOf (0.3 sec)

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

                CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
            return null;
        }
    
    
        /**
         * 
    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)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

                ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject();
                if ( constructed == null || constructed.getTagClass() != BERTags.APPLICATION ||
                        !(constructed.getBaseObject() instanceof  ASN1Sequence) )
                    throw new IOException("Malformed SPNEGO token " + constructed);
    
                ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/OplockTests.java

                        tree.send(create2);
                    }
                    catch ( Exception e ) {
                        // timeout is expected for now as we do not ack the break
                        if ( ! ( e.getCause() instanceof RequestTimeoutException ) ) {
                            throw e;
                        }
                    }
                }
                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

        @SuppressWarnings ( "deprecation" )
        public void testFixedCredentials () {
            Credentials guestCreds = this.context.withGuestCrendentials().getCredentials();
            assertThat(guestCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
            NtlmPasswordAuthenticator ntlmGuestCreds = guestCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertThat("anonymous", ntlmGuestCreds.isAnonymous(), CoreMatchers.is(false));
    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)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
            }
            else if ( request instanceof AndXServerMessageBlock && response instanceof AndXServerMessageBlock ) {
                AndXServerMessageBlock curReq = (AndXServerMessageBlock) request;
                AndXServerMessageBlock curResp = (AndXServerMessageBlock) response;
    
                do {
                    curReq.setResponse(curResp);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                // try TreeConnectAndX with the request
                // this does not make any sense if we are disconnecting right now
                T chainedResponse = null;
                if ( ! ( request instanceof SmbComTreeDisconnect ) && ! ( request instanceof Smb2TreeDisconnectRequest ) ) {
                    chainedResponse = treeConnect(request, response);
                }
    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)
  7. src/main/java/jcifs/smb/SmbFile.java

         */
        private void setContext ( SmbResource context, String name ) {
            this.fileLocator.resolveInContext(context.getLocator(), name);
            if ( context.getLocator().getShare() != null && ( context instanceof SmbFile ) ) {
                this.treeConnection = SmbTreeConnection.create( ( (SmbFile) context ).treeConnection);
            }
            else {
                this.treeConnection = SmbTreeConnection.create(context.getContext());
    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)
  8. src/test/java/jcifs/tests/SessionTest.java

         * @param f2
         * @throws CIFSException
         */
        private static void connectionMatches ( SmbResource f1, SmbResource f2 ) throws CIFSException {
            Assert.assertTrue(f1 instanceof SmbFile);
            Assert.assertTrue(f2 instanceof SmbFile);
            try ( SmbTreeHandleInternal th1 = (SmbTreeHandleInternal) ( (SmbFile) f1 ).getTreeHandle();
    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)
  9. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

            List<Key> serverKeys = new ArrayList<>();
    
            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for ( Object credential : serverPrivateCredentials )
                if ( credential instanceof KerberosKey )
                    serverKeys.add((KerberosKey) credential);
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
    
        public KerberosKey getKey ( int keyType ) {
    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)
  10. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject());
                if ( mechToken == null || mechToken.getTagClass() != BERTags.APPLICATION ||
                        !(mechToken.getBaseObject() instanceof ASN1Sequence) )
                    throw new PACDecodingException("Malformed kerberos token");
    
                this.apRequest = new KerberosApRequest((ASN1Sequence) mechToken.getBaseObject(), keys);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top