Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 663 for SMB (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated");
            assertTrue(next.writeParamCalls > 0, "chained SMB parameter words should be written");
            assertTrue(next.writeBytesCalls > 0, "chained SMB bytes should be written");
        }
    
        @Test
        @DisplayName("decode basic AndX block with no chaining")
        void testDecodeBasicNoAndx() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbUnsupportedOperationException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Exception thrown when an unsupported SMB operation is attempted.
     * Indicates that the requested operation is not supported by the SMB server or protocol version.
     *
     * @author mbechler
     *
     */
    public class SmbUnsupportedOperationException extends SmbException {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

    import org.mockito.Mock;
    import org.mockito.MockedStatic;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    class CIFSContextCredentialWrapperTest {
    
        @Mock
        private AbstractCIFSContext mockDelegate;
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            return 4;
        }
    
        @SuppressWarnings("deprecation")
        private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) {
            return pwAuth instanceof jcifs.smb.NtlmPasswordAuthentication
                    && !((jcifs.smb.NtlmPasswordAuthentication) pwAuth).areHashesExternal() && pwAuth.getPassword().isEmpty();
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSContextTest.java

        @DisplayName("Should define interface methods")
        void testCIFSContextInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockContext.get("smb://server/share");
                mockContext.getPipe("smb://server/share/pipe", 0);
                mockContext.close();
                mockContext.getConfig();
                mockContext.getNameServiceClient();
                mockContext.getBufferCache();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/AuthenticationProvider.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     */
    
    package jcifs.smb;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    
    /**
     * Unified authentication provider interface for SMB authentication
     *
     * This interface provides a consistent authentication mechanism across
     * SMB1, SMB2, and SMB3 protocols, addressing the issue of multiple
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

    /* jcifs smb client library in Java
     * Copyright (C) 2003  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/DfsResolverTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb.DfsImpl;
    import jcifs.smb.SmbTransportInternal;
    
    @ExtendWith(MockitoExtension.class)
    class DfsResolverTest {
    
        private DfsResolver dfsResolver;
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            return channelId;
        }
    
        /**
         * Get the transport for this channel
         *
         * @return SMB transport
         */
        public SmbTransport getTransport() {
            return transport;
        }
    
        /**
         * Set the transport for this channel
         *
         * @param transport SMB transport
         */
        public void setTransport(SmbTransport transport) {
            this.transport = transport;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SpnegoContext.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSupportedMechs()
         */
        @Override
        public ASN1ObjectIdentifier[] getSupportedMechs() {
            return new ASN1ObjectIdentifier[] { SPNEGO_MECH_OID };
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
         */
        @Override
        public int getFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top