- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 268 for masking (0.05 sec)
-
src/main/java/jcifs/audit/SecurityAuditLogger.java
/** * Enable or disable sensitive data masking * * @param enable true to enable masking */ public void setSensitiveDataMaskingEnabled(boolean enable) { this.maskSensitiveData = enable; log.info("Sensitive data masking {}", enable ? "enabled" : "disabled"); } /** * Enable or disable high performance mode for sensitive data masking *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
return super.getFile(); } /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoid * masking exceptions from the main operation. * * @throws IOException if an I/O error occurs during stream closure */ @Override public void close() throws IOException { try {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
assertEquals(Long.valueOf(2), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 2 authentication success events"); } @Test @DisplayName("Test sensitive data masking") void testSensitiveDataMasking() { logger.setSensitiveDataMaskingEnabled(true); Map<String, Object> context = new HashMap<>(); context.put("password", "secretpassword123");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
when(mockBuffer.dec_ndr_short()).thenReturn(negativeValue); // When: Decoding the value ndrShort.decode(mockBuffer); // Then: Should set the negative value directly (no masking on decode) verify(mockBuffer).dec_ndr_short(); assertEquals(negativeValue, ndrShort.value); } @Test @DisplayName("Should decode large value correctly")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
* Masks sensitive values in a string for security purposes. * * @param value the string potentially containing sensitive information * @return the string with sensitive parts masked, or the original string if masking is disabled */ public static String maskSecretValue(final String value) { if (MASK_SECRET_VALUE && value != null) { return value.replaceFirst(SECRET_PATTERN, SECRET_MASK_REPLACE); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\", "*.*", 0x16, 15, 4096); assertEquals("\\", trans2FindFirst2.getPath()); } @ParameterizedTest @DisplayName("Test search attributes masking") @ValueSource(ints = { 0x00, 0x16, 0x37, 0xFF }) void testSearchAttributesMasking(int searchAttributes) { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
String str = info.toString(); assertTrue(str.contains(specialName)); assertTrue(str.contains(specialRemark)); } @Test @DisplayName("Test type masking with 0xFFFF") void testTypeMasking() { // Test that only lower 16 bits are considered for type determination int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException"); } } @Nested @DisplayName("Secret Masking Tests") class SecretMaskingTests { @ParameterizedTest @DisplayName("maskSecretValue should mask SMB URLs containing credentials")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/mapping.txt
Shinsuke Sugaya <******@****.***> 1690423667 +0900
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 27 02:07:47 UTC 2023 - 13.3K bytes - Viewed (0)