Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 65 of 65 for AutoCloseable (0.05 sec)

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

     * when the "guest" username is supplied. Use {@link AuthenticationType} instead.
     *
     * @author mbechler
     */
    public class NtlmPasswordAuthenticator implements Principal, CredentialsInternal, Serializable, AutoCloseable {
    
        /**
         *
         */
        private static final long serialVersionUID = -4090263879887877186L;
    
        private static final Logger log = LoggerFactory.getLogger(NtlmPasswordAuthenticator.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            context.resetKeyRotationTracking();
    
            // Then
            assertFalse(context.needsKeyRotation(), "Should not need rotation after reset");
        }
    
        @Test
        @DisplayName("Should implement AutoCloseable and securely wipe keys on close")
        void testAutoCloseable() {
            // Given
            byte[] encKey = new byte[16];
            byte[] decKey = new byte[16];
            new SecureRandom().nextBytes(encKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                log.error("Error during session finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() {
            release();
        }
    
        /**
         *
         */
        public void release() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            }
        }
    
        /**
         * A holder for the directory context.
         */
        protected class DirContextHolder implements AutoCloseable {
            private final DirContext context;
    
            private int counter = 1;
    
            /**
             * Constructs a new directory context holder.
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            return ensureTreeConnected();
        }
    
        /**
         * {@inheritDoc}
         * Optimized to provide better resource cleanup with caching benefits.
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public synchronized void close() {
            final SmbTreeHandleImpl th = this.treeHandle;
            if (th != null) {
                this.treeHandle = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top