Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for setType (0.15 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                AvPair p = it.next();
                if ( p.getType() == type ) {
                    it.remove();
                }
            }
        }
    
    
        /**
         * Replace all occurances of the given type
         * 
         * @param pairs
         * @param rep
         */
        public static void replace ( List<AvPair> pairs, AvPair rep ) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbConstants.java

         * represents is a server.
         */
        static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
         * represents is a share.
         */
        static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

            return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN);
        }
    
    
        /**
         * Get the RID
         * 
         * This is the last subauthority identifier
         * 
         * @return the RID
         */
        @Override
        public int getRid () {
            if ( getType() == SID_TYPE_DOMAIN )
                throw new IllegalArgumentException("This SID is a domain sid");
    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/test/java/jcifs/tests/PACTest.java

                        enc-part
                            etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
                            kvno: 5
                            cipher: 508c1fb7944c336ead0edf4536ba1ecf7102923d9dc9e0ab1d5c73d0d3bb4ca6a1120cdd…
                    authenticator
                        etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
    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)
  5. src/main/java/jcifs/pac/PacMac.java

                    KerberosKey key = type == PacSignature.HMAC_SHA1_96_AES128 ? keys.get(PacSignature.ETYPE_AES128_CTS_HMAC_SHA1_96)
                            : keys.get(PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96);
                    if ( key == null ) {
                        throw new PACDecodingException("Missing key");
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue());
                    if ( keysByAlgo.isEmpty() || serverKey == null ) {
                        throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue());
                    }
    
                    try {
                        byte[] decrypted = KerberosEncData.decrypt(crypt, serverKey, serverKey.getKeyType());
    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/smb/SmbFileOutputStream.java

                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SidTest.java

            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getTestUser(), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
        }
    
    
        @Test
        public void resolveGroupSID () throws IOException {
            String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID);
            SID s = new SID(sid);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
                            assertTrue(serv.isDirectory());
    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)
Back to top