Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for validate_ (0.56 sec)

  1. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/validation/UriType.java

    /**
     * Validation annotation for URI type constraints.
     * This annotation validates URI strings based on specified protocol types.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = UriTypeValidator.class)
    public @interface UriType {
    
        /**
         * Specifies the protocol type to validate against.
         *
         * @return the protocol type
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

     * This class extends FessApiAction to provide admin-specific functionality
     * including enhanced access control for administrative operations.
     *
     * <p>Admin API actions require special permissions and access tokens
     * that are validated against the admin role configuration.</p>
     */
    public abstract class FessApiAdminAction extends FessApiAction {
    
        /** Logger instance for this class. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

          DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER);
    
      /**
       * Helper method for {@link #validateSyntax(List)}. Validates that one part of a domain name is
       * valid.
       *
       * @param part The domain name part to be validated
       * @param isFinalPart Is this the final (rightmost) domain part?
       * @return Whether the part is valid
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

        //                                                                      ==============
        /**
         * Handles document redirection requests.
         * Validates the document ID, logs click events if enabled, and redirects
         * to the target URL or serves file content directly if configured.
         *
         * @param form the go form containing document ID and tracking parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. 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
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

                }, this::asListHtml);
            }
        }
    
        /**
         * Validates group attributes using LDAP manager.
         *
         * @param attributes the attributes to validate
         * @param throwError the error handler
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        /**
         * Validates the current request by checking for stored web API exceptions.
         * Throws any stored WebApiException if found.
         *
         * @throws WebApiException If a web API exception was previously stored
         */
        public static void validate() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

            return determineValid(value);
        }
    
        /**
         * Determines if the given value is a valid cron expression.
         * @param value the value to validate
         * @return true if valid, false otherwise
         */
        protected boolean determineValid(final String value) {
            if (StringUtil.isNotBlank(value) && !LaCronUtil.isCronExpValid(value)) {
                return false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top