- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 178 for rotate (4.42 sec)
-
src/main/java/jcifs/util/SecureKeyManager.java
try { rotateSessionKey(sessionId); rotated++; } catch (Exception e) { log.warn("Failed to rotate key for session: {}", sessionId, e); } } } log.info("Force rotated {} keys", rotated); return rotated; } /** * Clean up old archived key versions *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
for (int i = 0; i < 3; i++) { keyManager.storeSessionKey("session-" + i, testKey, "AES"); } // Force rotate all int rotated = keyManager.forceRotateAllKeys(); assertEquals(3, rotated, "Should rotate 3 keys"); // Verify all keys were rotated for (int i = 0; i < 3; i++) { assertEquals(1, keyManager.getKeyVersion("session-" + i), "Key version should be 1");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
if (closed) { throw new IllegalStateException("Cannot rotate keys on closed context"); } log.info("Rotating encryption keys for session: {}", sessionId); if (keyManager != null) { // Rotate keys in SecureKeyManager String encKeyId = sessionId + "-enc"; String decKeyId = sessionId + "-dec";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/assemblies/extension/kibana/fess_log.ndjson
ue,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Query Count\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"histogram\",\"mode\":\"stacked\",\"data\":{\"label\":\"Query Count\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawL...Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Aug 12 01:26:21 UTC 2019 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Should be idempotent assertDoesNotThrow(() -> context.close()); // Cleanup keyManager.close(); } @Test @DisplayName("Should rotate keys successfully") void testKeyRotation() throws Exception { // Given Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// Calculate channel score for load balancing int score = 100; // Adjust based on state if (state == ChannelState.ACTIVE) score -= 20; // Busy channel if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0; // Adjust based on error rate double errorRate = getErrorRate(); if (errorRate > 0.1) score -= 50;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
public interface CircuitBreakerListener { /** * Called when circuit state changes * * @param circuitBreaker the circuit breaker * @param fromState previous state * @param toState new state */ void onStateChange(SmbCircuitBreaker circuitBreaker, State fromState, State toState); /** * Called when a request succeeds *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Rate limiter for authentication attempts to prevent brute force attacks. * * Features: * - Per-account rate limiting * - Per-IP rate limiting * - Global rate limiting * - Exponential backoff for repeated failures * - Account lockout after threshold * - Automatic cleanup of old entries */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
totalFailures.incrementAndGet(); lastFailureTime.set(System.currentTimeMillis()); State current = state.get(); if (current == State.HALF_OPEN) { // Single failure in half-open state reopens the circuit if (state.compareAndSet(State.HALF_OPEN, State.OPEN)) { stateChangeTime.set(System.currentTimeMillis()); consecutiveFailures.set(1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0)