Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 489 for _validate (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            badWordService.getBadWord(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    	QueueDir           string    `json:"queueDir"`
    	QueueLimit         uint64    `json:"queueLimit"`
    	MaxOpenConnections int       `json:"maxOpenConnections"`
    }
    
    // Validate PostgreSQLArgs fields
    func (p PostgreSQLArgs) Validate() error {
    	if !p.Enable {
    		return nil
    	}
    	if p.Table == "" {
    		return fmt.Errorf("empty table name")
    	}
    	if err := validatePsqlTableName(p.Table); err != nil {
    		return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwt_test.go

    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    		closeRespFn: func(rc io.ReadCloser) {
    			rc.Close()
    		},
    	}
    
    	var claims jwtgo.MapClaims
    	if err = cfg.Validate(context.Background(), DummyRoleARN, token, "", "", claims); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestJWT(t *testing.T) {
    	const jsonkey = `{"keys":
           [
             {"kty":"RSA",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidator.java

    /**
     * Checks the model for missing or invalid values.
     *
     */
    @Deprecated
    public interface ModelValidator {
    
        String ROLE = ModelValidator.class.getName();
    
        ModelValidationResult validate(Model model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. bin/check_samples.sh

    for f in samples/**/*.yaml; do
      if grep -q -e "{{" "$f" ; then
        echo "Skipping check for helm template $f"
        continue
      else
        echo "Validating $f..."
      $ISTIOCTL validate -x \
        -f "$f"
      fi
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 1010 bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            public Collection<Phase> phases() {
                return List.of(phase(
                        "all",
                        phase(INITIALIZE, phase(VALIDATE)),
                        phase(
                                BUILD,
                                after(VALIDATE),
                                phase(SOURCES),
                                phase(RESOURCES),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            relatedContentService.getRelatedContent(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. internal/config/identity/plugin/config.go

    	URL         *xnet.URL
    	AuthToken   string
    	Transport   http.RoundTripper
    	CloseRespFn func(r io.ReadCloser)
    
    	RolePolicy string
    	RoleARN    arn.ARN
    }
    
    // Validate - validate configuration params.
    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top