Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 487 for validate_ (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Validator class should be UriTypeValidator", UriTypeValidator.class, constraint.validatedBy()[0]);
            assertEquals("Should have exactly one validator", 1, constraint.validatedBy().length);
        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
            assertEquals("Default message should match", "{org.lastaflute.validator.constraints.UriType.message}", getDefaultMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

         * Upload a design file.
         * @param form The upload form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> asListHtml(form));
            verifyToken(this::asListHtml);
            final String uploadedFileName = form.designFile.getFileName();
            String fileName = form.designFileName;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    	if location == "" {
    		location = globalSite.Region()
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    	return location, ErrNone
    }
    
    // Validates input location is same as configured region
    // of MinIO server.
    func isValidLocation(location string) bool {
    	region := globalSite.Region()
    	return region == "" || region == location
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  4. cmd/admin-handler-utils.go

    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // validateAdminReq will validate request against and return whether it is allowed.
    // If any of the supplied actions are allowed it will be successful.
    // If nil ObjectLayer is returned, the operation is not permitted.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/BufferCache.java

            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
            int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE;
            if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/FessActionValidator.java

    import org.lastaflute.web.validation.ActionValidator;
    
    /**
     * Fess-specific action validator that extends the LastaFlute ActionValidator.
     * This validator provides validation functionality for Fess web actions with custom
     * message handling and runtime group validation.
     *
     * @param <MESSAGES> the type of user messages used by this validator
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         *
         * @param form the edit form
         * @return HTML response for the edit page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            final String id = form.id;
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. cmd/common-main.go

    				"Unable to validate credentials inherited from the secret file(s)")
    		}
    		if accessKey != "" {
    			os.Setenv(config.EnvRootUser, accessKey)
    		}
    	}
    
    	if env.IsSet(config.EnvSecretKeyFile) {
    		secretKey, err := readFromSecret(env.Get(config.EnvSecretKeyFile, ""))
    		if err != nil {
    			logger.Fatal(config.ErrInvalidCredentials(err),
    				"Unable to validate credentials inherited from the secret file(s)")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. cmd/bucket-listobjects-handlers.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Validate all the ListObjects query arguments, returns an APIErrorCode
    // if one of the args do not meet the required conditions.
    // Special conditions required by MinIO server are as below
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

         *
         * @param form the edit form
         * @return HTML response for the edit page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            labelTypeService.getLabelType(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top