Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for maskSecretValue (0.11 sec)

  1. src/main/java/jcifs/util/Strings.java

        private static final Charset ASCII_ENCODING = Charset.forName("US-ASCII");
    
        private static final boolean MASK_SECRET_VALUE = System.getProperty("jcifs.maskSecretValue", "true") == "true";
        private static final String SECRET_PATTERN = "^(smb.*:).*(@.*)$";
        private static final String SECRET_MASK_REPLACE = "$1******$2";
    
        /**
         *
         */
        private Strings() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

                String result = Strings.maskSecretValue(input);
    
                // Then
                assertEquals(input, result, "Should not modify non-matching strings");
            }
    
            @Test
            @DisplayName("maskSecretValue should handle null input")
            void testMaskSecretValueWithNull() {
                // When
                String result = Strings.maskSecretValue(null);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * as <code>getPath</code>.
         *
         * @return  The original URL representation of this SMB resource
         */
    
        @Override
        public String toString() {
            return Strings.maskSecretValue(url.toString());
        }
    
        /* URLConnection implementation */
        /**
         * This URLConnection method just returns the result of {@code length()}.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

         * as <code>getPath</code>.
         *
         * @return The original URL representation of this SMB resource
         */
    
        @Override
        public String toString() {
            return Strings.maskSecretValue(url.toString());
        }
    
        /* URLConnection implementation */
        /**
         * This URLConnection method just returns the result of {@code length()}.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top