Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for broken (1.2 sec)

  1. src/main/java/jcifs/SmbTransportPool.java

         *
         * @param dc the domain controller address
         * @param tc the CIFS context containing credentials
         * @throws CIFSException if an error occurs during authentication
         * @deprecated functionality is broken and will be removed at some point,
         *             use actual Active Directory authentication instead
         */
        @Deprecated
        void logon(CIFSContext tc, Address dc) throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/https/Handler.java

     * capabilities to the default HTTPS handler. This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     *
     * @deprecated {@link NtlmHttpURLConnection} is broken by design.
     */
    @Deprecated
    public class Handler extends jcifs.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
        public static final int DEFAULT_HTTPS_PORT = 443;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

         * @see jcifs.SmbWatchHandle#watch()
         */
        @Override
        public List<FileNotifyInformation> watch() throws CIFSException {
            if (!this.handle.isValid()) {
                throw new SmbException("Watch was broken by tree disconnect");
            }
            try (SmbTreeHandleImpl th = this.handle.getTree()) {
    
                CommonServerMessageBlockRequest req;
                NotifyResponse resp = null;
                if (th.isSMB2()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB2 Oplock Break notification message. This server-initiated message notifies the client
     * that an opportunistic lock must be broken due to conflicting access from another client.
     *
     * @author mbechler
     *
     */
    public class Smb2OplockBreakNotification extends ServerMessageBlock2Response {
    
        private byte oplockLevel;
        private byte[] fileId;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @param config the configuration for this notification
         */
        public Smb2LeaseBreakNotification(Configuration config) {
            super(config);
        }
    
        /**
         * Gets the lease key that is being broken
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the current lease state before the break
         * @return the current lease state
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/Handler.java

     * capabilities to the default HTTP handler. This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     *
     * @deprecated {@link NtlmHttpURLConnection} is broken by design.
     */
    @Deprecated
    public class Handler extends URLStreamHandler {
    
        private static final Logger log = LoggerFactory.getLogger(Handler.class);
    
        /**
         * The default HTTP port (<code>80</code>).
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                    // Lost read cache - invalidate directory cache
                    entry.invalidate();
                }
            } else {
                // Lease completely broken - invalidate cache
                entry.invalidate();
            }
    
            if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) {
                // Lost handle cache - may need to close directory handle
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                assertEquals(5, in.skip(5));
            }
        }
    
        @Nested
        @DisplayName("SMB1 interactions")
        class Smb1Behavior {
    
            @Test
            @DisplayName("Named pipe: broken pipe maps to -1")
            void namedPipeBrokenPipeReturnsMinusOne() throws Exception {
                when(mockTree.isSMB2()).thenReturn(false);
                when(mockFile.getType()).thenReturn(SmbConstants.TYPE_NAMED_PIPE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
            assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect"));
        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
        @DisplayName("watch() SMB2 happy path returns notifications and closes tree")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     * HttpURLConnections, for the complete JRE) to the same host with different or mixed anonymous/authenticated
     * credentials. Authenticated connections can/will be reused.
     *
     * @deprecated This is broken by design, even a possible vulnerability. Deprecation is conditional on whether future JDK
     *             versions will allow to do this safely.
     */
    @Deprecated
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top