Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 170 for CIFSException (0.09 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

    import java.util.Properties;
    
    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.CIFSException;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Test class for PropertyConfiguration functionality
     */
    @DisplayName("PropertyConfiguration Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

         *
         * @param other the other resource locator to compare with
         * @return whether the paths share a common root
         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
         * @param reqPath the requested path to resolve
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SpnegoContext.java

            } catch (final CIFSException e) {
                throw new CIFSException("Failed to verify mechanismListMIC", e);
            }
        }
    
        /**
         * @param mechs
         * @return
         * @throws CIFSException
         */
        private static byte[] encodeMechs(final ASN1ObjectIdentifier[] mechs) throws CIFSException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @param data the data to compress
         * @param algorithm the compression algorithm to use
         * @return the compressed data
         * @throws CIFSException if compression fails
         */
        byte[] compress(byte[] data, int algorithm) throws CIFSException;
    
        /**
         * Compresses data using the specified algorithm with offset and length.
         *
         * @param data the data buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/DfsResolverTest.java

        }
    
        // Test for isTrustedDomain method
        @Test
        void testIsTrustedDomain_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        @Test
        void testIsTrustedDomain_NoUserDomain() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         * @param searchAttributes the file attributes to search for
         * @throws CIFSException if an error occurs during initialization
         */
        public DirFileEntryEnumIteratorBase(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard,
                final ResourceNameFilter filter, final int searchAttributes) throws CIFSException {
            this.parent = parent;
            this.wildcard = wildcard;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/CredentialsInternal.java

         * @return subject associated with the credentials
         */
        Subject getSubject();
    
        /**
         * Refresh the credentials.
         * @throws CIFSException if refresh fails
         */
        void refresh() throws CIFSException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test release() when a CIFSException is thrown.
         *
         * @throws CIFSException
         */
        @Test
        void testRelease_throwsCIFSException() throws CIFSException {
            doThrow(new CIFSException("Failed to release")).when(smbFileHandle).release();
            assertThrows(CIFSException.class, () -> smbFileHandle.release(), "release() should throw CIFSException when releasing fails.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            return compress(data, 0, data.length, algorithm);
        }
    
        @Override
        public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException {
            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

         *            methods.
         * @throws CIFSException if there is an error resolving the SIDs
         */
        void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException;
    
        /**
         * Resolve part of an array of SIDs using a cache and at most one MSRPC request.
         *
         * @param tc the CIFS context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top