- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for CIFSException (0.06 sec)
-
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
preauthService.validatePreauthIntegrity(sessionId, incorrectHash); fail("Expected CIFSException"); } catch (CIFSException e) { // Expected } assertFalse(context.isValid()); // Further operations on invalid context should fail assertThrows(CIFSException.class, () -> { preauthService.updatePreauthHash(sessionId, "test".getBytes()); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
import org.junit.jupiter.api.Test; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.ResolverType; import jcifs.SmbConstants; /** * Test class for BaseConfiguration */ class BaseConfigurationTest { private BaseConfiguration config; @BeforeEach void setUp() throws CIFSException { config = new BaseConfiguration(false); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.SmbConstants; import jcifs.SmbPipeHandle; import jcifs.SmbPipeResource; import jcifs.internal.smb1.trans.TransCallNamedPipe; import jcifs.internal.smb1.trans.TransCallNamedPipeResponse;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
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 bufferRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
package jcifs.config; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import jcifs.CIFSException; import jcifs.DialectVersion; /** * Security configuration tests * * Verifies that default security settings are properly configured * according to SMB security best practices. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
}); } catch (CIFSException e) { // Expected } } assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Try to execute - should be blocked with CIFSException CIFSException exception = assertThrows(CIFSException.class, () -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertThrows(CIFSException.class, () -> { compressionService.compress(testData, CompressionService.COMPRESSION_LZNT1); }); } @Test @DisplayName("Test unsupported algorithm decompression") public void testUnsupportedAlgorithmDecompression() { assertThrows(CIFSException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
// If it doesn't throw, that's unexpected for localhost fail("Expected CIFSException for localhost multi-channel attempt"); } catch (java.lang.reflect.InvocationTargetException e) { // We expect this to fail, but it should be a CIFSException, not a NullPointerException assertTrue(e.getCause() instanceof CIFSException);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
* @return the created context * @throws CIFSException if initialization fails */ public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException { if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); } if (salt == null || salt.length < 16) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0)