Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 170 for CIFSException (0.89 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.BufferCache;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

                final T response, final Set<RequestParam> params) throws CIFSException {
            CIFSException last = null;
            final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null;
            final String savedPath = rpath != null ? rpath.getPath() : null;
            final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/CIFSContextWrapper.java

            this.delegate = delegate;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if the URL is malformed or there is an error creating the SMB resource
         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                final ResourceNameFilter filter, final int searchAttributes) throws CIFSException {
            super(th, parent, wildcard, filter, searchAttributes);
        }
    
        @SuppressWarnings("resource")
        @Override
        protected final FileEntry open() throws CIFSException {
            final SmbResourceLocator loc = this.getParent().getLocator();
            final String unc = loc.getUNCPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

         * @return the Type 3 message to send to the server
         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws CIFSException if a CIFS protocol error occurs
         */
        protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException {
            if (this.auth instanceof NtlmNtHashAuthenticator) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/BaseContext.java

            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if the URL is malformed or there is an error creating the SMB resource
         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        void testGetInputOutputAndClosed() throws CIFSException {
            // After closing the handle, further calls throw
            target.close();
            CIFSException e1 = assertThrows(SmbException.class, target::getInput);
            assertTrue(e1.getMessage().contains("Already closed"));
            CIFSException e2 = assertThrows(SmbException.class, target::getOutput);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ResourceNameFilter.java

         * @param name the resource name to test
         * @return whether the given filename should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource parent, String name) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionInternal.java

        boolean isInUse();
    
        /**
         * Returns the current session key used for signing and encryption.
         *
         * @return the current session key
         * @throws CIFSException if the session key cannot be retrieved
         */
        byte[] getSessionKey() throws CIFSException;
    
        /**
         * Returns the SMB transport associated with this session.
         *
         * @return the transport for this session
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            byte[] flagData = new byte[4];
            SMBUtil.writeInt4(0x12345678, flagData, 0);
            byte[] avPairData = createAvPairData(AvPair.MsvAvFlags, flagData);
    
            CIFSException exception = assertThrows(CIFSException.class, () -> {
                AvPairs.decode(avPairData);
            });
    
            assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top