Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 86 for New (0.27 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            NegTokenInit negInit = new NegTokenInit(mechToken);
            byte[] krbToken = negInit.getMechanismToken();
    
    
            Path p = Files.createTempFile("fakeserver", ".keytab");
            try {
                Files.write(p, keyTab);
                KeyTab kt = KeyTab.getInstance(p.toFile());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                try ( SmbFile a = new SmbFile(f, "a.txt");
                      SmbFile b = new SmbFile(f, "b.txt");
                      SmbFile c = new SmbFile(f, "c.bar") ) {
    
                    a.createNewFile();
                    b.createNewFile();
                    c.createNewFile();
    
                    SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", -1));
                    assertNotNull(files);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                MsrpcShareEnum rpc = new MsrpcShareEnum(loc.getServer());
                handle.sendrecv(rpc);
                if ( rpc.retval != 0 ) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            }
        }
    
    
        static FileEntry[] doNetShareEnum ( SmbTreeHandleImpl th ) throws CIFSException {
            SmbComTransaction req = new NetShareEnum(th.getConfig());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                ssn.getSmbTree( LOGON_SHARE, null ).treeConnect( null, null );
            }
            return new NtlmChallenge( trans.server.encryptionKey, dc );
        }
        public static NtlmChallenge getChallengeForDomain()
                    throws SmbException, UnknownHostException {
            if( DOMAIN == null ) {
                throw new SmbException( "A domain was not specified" );
            }
    synchronized (DOMAIN) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        hmac.update(sessionNonce);
                        byte[] ntlm2SessionKey = hmac.digest();
    
                        if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                            masterKey = new byte[16];
                            RANDOM.nextBytes(masterKey);
    
                            byte[] exchangedKey = new byte[16];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        this.s = new DfsInfo1[_ss];
                    }
                    _src = _src.derive(_si);
                    for ( int _i = 0; _i < _ss; _i++ ) {
                        if ( this.s[ _i ] == null ) {
                            this.s[ _i ] = new DfsInfo1();
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

        private int contextLifetime = GSSContext.DEFAULT_LIFETIME;
        private boolean canFallback = false;
        private boolean forceFallback;
    
        static {
            PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"));
            PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.48018.1.2.2"));
        }
    
    
        /**
         * Construct a <code>Kerb5Authenticator</code> object with <code>Subject</code>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

            byte[] domain = new byte[0];
            if ( domainStr != null ) {
                try {
                    domain = domainStr.getBytes(UNI_ENCODING);
                }
                catch ( IOException ex ) {
                    log.debug("Failed to get domain bytes", ex);
                }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

                if ( this.realm == null )
                    this.realm = "jCIFS";
    
                this.transportContext = new BaseContext(new PropertyConfiguration(p));
            }
            catch ( CIFSException ex ) {
                throw new ServletException("Failed to initialize CIFS context");
            }
        }
    
    
        @Override
        public void destroy () {}
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/DfsTest.java

            final String hostname = "foo";
            final String root = "dfs";
            final String path = "\\bla\\";
    
            DfsImpl dfs = new DfsImpl(context);
    
            DfsReferralDataImpl dr = new DfsReferralDataImpl() {
    
                @Override
                public int getPathConsumed () {
                    return 2 + hostname.length() + root.length() + path.length();
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
Back to top