- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 72 for validate_ (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
bean.setSpecialCron("invalid"); // Validate default group Set<ConstraintViolation<GroupTestBean>> violations = validator.validate(bean, Default.class); assertEquals(1, violations.size()); assertTrue(violations.iterator().next().getPropertyPath().toString().contains("defaultCron")); // Validate special group violations = validator.validate(bean, SpecialGroup.class);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
return 4000; } } /** * Parses and validates field filter parameters from the request. * Only configured label values are accepted to prevent query injection. * * @param request the HTTP request * @return a map of field names to their validated filter values */ protected Map<String, String[]> parseFieldFilters(final HttpServletRequest request) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
// ============ /** * Validates group attributes using LDAP manager. * * @param attributes the attributes to validate * @param throwError the error handler */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
* Reloads the document index by closing and reopening it. * * @param form the action form (validated but not used for configuration) * @return HTML response redirecting to the maintenance page */ @Execute @Secured({ ROLE }) public HtmlResponse reloadDocIndex(final ActionForm form) { validate(form, messages -> {}, this::asIndexHtml); verifyToken(this::asIndexHtml);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 23K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
import jakarta.validation.ConstraintDefinitionException; import jakarta.validation.ConstraintValidator; import jakarta.validation.ConstraintValidatorContext; /** * Validator implementation for URI type constraints. * This validator checks URI strings against specified protocol types. */ public class UriTypeValidator implements ConstraintValidator<UriType, String> { /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
form.password = null; form.confirmPassword = null; } /** * Validates LDAP user attribute types using the configured LDAP manager. * * @param attributes the map of attributes to validate * @param throwError callback to report any validation errors */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
// ========= /** * Validates document fields according to index field requirements. * * @param doc the document to validate * @param throwError consumer to handle validation errors */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 25.5K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
throw new SsoLoginException("unexpected set of artifacts received"); } } /** * Validates the OAuth2 state parameter. * @param session The HTTP session containing stored state data. * @param state The state parameter to validate. * @return The validated state data. */ protected StateData validateState(final HttpSession session, final String state) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
this.systemCpuCheckInterval = systemCpuCheckInterval; } /** * Validates a password against configured password policy requirements. * * @param password The password to validate. * @return An empty string if the password is valid, or an error key for the validation failure. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
*/ protected void write(final String path, final byte[] data) { validateFilePath(path); LdiFileUtil.write(path, data); } /** * Validates the file path. * * @param path the file path to validate */ protected void validateFilePath(final String path) { if (StringUtil.isBlank(path)) { throw new IllegalArgumentException("File path cannot be blank.");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0)