- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getDecoder (0.67 sec)
-
src/main/java/org/codelibs/core/misc/Base64Util.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
* @return stream response containing the log file content */ // GET /api/admin/log/file/{id} @Execute public StreamResponse get$file(final String id) { final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
* @return ActionResponse containing the log file stream */ @Execute @Secured({ ROLE, ROLE + VIEW }) public ActionResponse download(final String id) { final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
final String challenge) throws NTLMEngineException { Type2Message type2Message; try { type2Message = new Type2Message(Base64.getDecoder().decode(challenge)); } catch (final IOException exception) { throw new NTLMEngineException("Invalid NTLM type 2 message", exception); } final int type2Flags = type2Message.getFlags();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java
return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } private String decode(final String value) { return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8); } @Override public String toString() { return "User [name=" + name + ", roles=" + Arrays.toString(roles) + ", groups=" + Arrays.toString(groups) + "]";
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
*/ public char[] decryptFromString(String encryptedString) throws GeneralSecurityException { if (encryptedString == null) { return null; } byte[] encrypted = Base64.getDecoder().decode(encryptedString); return decryptCredentials(encrypted); } /** * Get the salt used for key derivation * * @return salt bytes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
assertEquals("NTLM ", headerValue.substring(0, 5), "Header should start with 'NTLM '"); // Decode the returned Type 2 message and check its signature and type byte[] type2Bytes = Base64.getDecoder().decode(headerValue.substring(5)); assertEquals('N', (char) type2Bytes[0]); assertEquals('T', (char) type2Bytes[1]); assertEquals('L', (char) type2Bytes[2]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertNotNull(id); assertEquals(Base64.getEncoder().encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)), id); // Test empty text String emptyText = ""; String emptyId = SuggestUtil.createSuggestTextId(emptyText); assertNotNull(emptyId); assertEquals(Base64.getEncoder().encodeToString(emptyText.getBytes(CoreLibConstants.CHARSET_UTF_8)), emptyId);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) { final String value = username + ":" + password; final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8)); request.header("Authorization", basicAuth); } if (sslSocketFactory != null) { request.sslSocketFactory(sslSocketFactory);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
/** Settings ID. */ protected final String settingsId; /** Suggest settings. */ protected final SuggestSettings settings; private static final Base64.Encoder encoder = Base64.getEncoder(); /** * Constructor. * @param settings Suggest settings * @param client OpenSearch client * @param settingsIndexName Settings index name * @param settingsId Settings IDRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 15.8K bytes - Viewed (0)