Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 672 for SMB (0.88 sec)

  1. src/main/java/jcifs/context/SingletonContext.java

        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         *
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * @param config the configuration
         * @param command the SMB command
         */
        protected AndXServerMessageBlock(final Configuration config, final byte command) {
            this(config, command, null);
        }
    
        /**
         * Constructs an AndX message block with command and chained command
         * @param config the configuration
         * @param command the SMB command
         * @param andx the chained command
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

     */
    package jcifs.util;
    
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Validator for SMB server responses to prevent buffer overflow and injection attacks.
     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
     * to protect content with NTLM HTTP Authentication. Servlets that
     * extend this abstract base class may be authenticated against an SMB
     * server or domain controller depending on how the
     * {@code jcifs.smb.client.domain} or {@code jcifs.http.domainController}
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.util.LogStream;
    
    /**
     * The SmbSession class represents an SMB session established with a server.
     * It provides methods for authentication and session management.
     */
    public final class SmbSession {
    
        private static final String LOGON_SHARE = Config.getProperty("jcifs.smb1.smb.client.logonShare", null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. docs/smb3-features/04-directory-leasing-design.md

    // In PropertyConfiguration.java
    public static final String USE_DIRECTORY_LEASING = "jcifs.smb.client.useDirectoryLeasing";
    public static final String DIRECTORY_CACHE_SCOPE = "jcifs.smb.client.directoryCacheScope";
    public static final String DIRECTORY_CACHE_TIMEOUT = "jcifs.smb.client.directoryCacheTimeout";
    public static final String DIRECTORY_NOTIFICATIONS_ENABLED = "jcifs.smb.client.directoryNotificationsEnabled";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SessionSetupHandler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Handler for SMB session setup operations.
     *
     * This interface defines methods for handling the session
     * setup process in SMB authentication.
     *
     * @author mbechler
     */
    public interface SessionSetupHandler {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1017 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int parameterCount;
        /** Offset from the start of the SMB header to the parameter bytes */
        protected int parameterOffset;
        /** Displacement of these parameter bytes from the start of the total parameter block */
        protected int parameterDisplacement;
        /** Offset from the start of the SMB header to the data bytes */
        protected int dataOffset;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.isA;
    import static org.mockito.Mockito.atLeastOnce;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                when(src.toString()).thenReturn("smb://src");
                when(dest.toString()).thenReturn("smb://dest");
    
                // Act + Assert
                SmbException ex =
                        assertThrows(SmbException.class, () -> SmbCopyUtil.copyFile(src, dest, buffers, 8, new WriterThread(), sh, dh));
                assertTrue(ex.getMessage().contains("smb://src"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top