- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for reauth (1.67 sec)
-
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should derive unique keys for different preauth values") void testDeriveKeys_UniquePreauthValues() { // Given byte[] preauth1 = new byte[64]; byte[] preauth2 = new byte[64]; new SecureRandom().nextBytes(preauth1); new SecureRandom().nextBytes(preauth2); int dialect = Smb2Constants.SMB2_DIALECT_0311; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
if (enforceIntegrity) { throw new CIFSException("No preauth integrity context found for session: " + sessionId); } log.warn("No preauth integrity context for session {}, skipping update", sessionId); return; } if (!context.isValid()) { throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
} /** * Test that pre-auth hash is reset on error */ @Test @DisplayName("Pre-auth integrity hash should reset on error") void testPreauthHashResetOnError() throws Exception { // Setup invalid SMB2 state to trigger error setPrivateField(transport, "smb2", false); // Try to update preauth hash - should fail and resetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// Secure key management private SecureKeyManager keyManager; private String sessionId; private volatile boolean closed = false; // Store session key and preauth hash for key rotation private byte[] sessionKey; private byte[] preauthIntegrityHash; private int rotationCount = 0; // Key rotation tracking - use atomic for lock-free operationsRegistered: 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/java/jcifs/smb/SmbTreeConnection.java
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; final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
void testDifferentContextTypes() { PreauthIntegrityNegotiateContext preauth = new PreauthIntegrityNegotiateContext(); EncryptionNegotiateContext encryption = new EncryptionNegotiateContext(); assertNotEquals(preauth.getContextType(), encryption.getContextType()); assertEquals(0x1, preauth.getContextType()); assertEquals(0x2, encryption.getContextType()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
import java.util.stream.Collectors; import org.apache.http.auth.AuthScheme; import org.apache.http.auth.AuthScope; import org.apache.http.auth.Credentials; import org.apache.http.auth.NTCredentials; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.impl.auth.BasicScheme; import org.apache.http.impl.auth.DigestScheme; import org.apache.http.impl.auth.NTLMScheme; import org.apache.logging.log4j.LogManager;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertNotNull(enc); assertTrue(enc instanceof EncryptionNegotiateContext); // Test preauth context NegotiateContextResponse preauth = Smb2NegotiateResponse.createContext(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE); assertNotNull(preauth); assertTrue(preauth instanceof PreauthIntegrityNegotiateContext); // Test unknown context
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} /** * Set the health check interval * @param millis the health check interval in milliseconds */ public void setHealthCheckInterval(int millis) { if (millis <= 0) { throw new IllegalArgumentException("Health check interval must be positive"); } this.healthCheckInterval = millis; log.info("Set health check interval to {} ms", millis); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java
final List<Authentication> basicAuthList = new ArrayList<>(); for (final WebAuthentication webAuth : webAuthList) { basicAuthList.add(webAuth.getAuthentication()); } paramMap.put(HcHttpClient.AUTHENTICATIONS_PROPERTY, basicAuthList.toArray(new Authentication[basicAuthList.size()])); // request header
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 10.2K bytes - Viewed (0)