- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,040 for certify (0.05 seconds)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
assertFalse(ctx.isEstablished(), "stub context initially not established"); // Verify interactions with dependency are meaningful and ordered InOrder order = inOrder(mockContext); order.verify(mockContext, times(1)).getConfig(); order.verify(mockContext, times(1)).getCredentials(); verifyNoMoreInteractions(mockContext); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Security-focused test cases for SmbSessionImpl to verify race condition fixes. */ public class SmbSessionImplSecurityTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
// Verify each is a power of 2 for (int cap : capabilities) { assertTrue(isPowerOfTwo(cap), "Capability 0x" + Integer.toHexString(cap) + " should be a power of 2"); } // Verify no overlapping bits for (int i = 0; i < capabilities.length; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
And your users would be able to login from your Django app or from your **FastAPI** app, at the same time. /// ## Hash and verify the passwords { #hash-and-verify-the-passwords } Import the tools we need from `pwdlib`. Create a PasswordHash instance with recommended settings - it will be used for hashing and verifying passwords. /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/metrics/prometheus/alerts.md
``` ## Verify the configuration and alerts To verify the above sample alert follow below steps 1. Start a distributed MinIO instance (4 nodes setup) 2. Start Prometheus server and AlertManager 3. Bring down couple of MinIO instances to bring down the Erasure Set tolerance to -1 and verify the same with `mc admin prometheus metrics ALIAS | grep minio_cluster_health_erasure_set_status`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 23 15:13:23 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
assertEquals("keep1/", it.next().getName()); assertTrue(it.hasNext()); assertEquals("keep2/", it.next().getName()); assertFalse(it.hasNext()); // Verify filter called once per entry verify(filter, times(3)).accept(any()); } @Test @DisplayName("Filter throws CIFSException: entry is skipped and iteration continues")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
when(cfg.getMaximumBufferSize()).thenReturn(5); BufferCacheImpl impl = new BufferCacheImpl(cfg); // Verify interactions happen exactly once during construction verify(cfg, times(1)).getBufferCacheSize(); verify(cfg, times(1)).getMaximumBufferSize(); verifyNoMoreInteractions(cfg); // When cache is empty, getBuffer allocates a new buffer with configured size
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
Smb2EchoRequest request = new Smb2EchoRequest(mockConfig); assertNotNull(request); // Verify command is set to SMB2_ECHO (0x000D) assertEquals(0x000D, request.getCommand()); // Verify configuration is set Field configField = ServerMessageBlock2.class.getDeclaredField("config"); configField.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Then // These fields are protected in parent class, so we can't access them directly // We verify the object was created successfully instead assertNotNull(trans2GetDfsReferral); // Verify that request buffer was created with correct parameters Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
void testFileEntryInterface() { // Verify that SmbShareInfo properly implements FileEntry interface SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); // Cast to FileEntry to ensure interface is properly implemented jcifs.smb.FileEntry fileEntry = info; // Verify all FileEntry methods work assertEquals(TEST_NET_NAME, fileEntry.getName());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)