Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 522 for validateId (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

         * @return HTML response for the edit form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            requestHeaderService.getRequestHeader(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

            // ======================
            String ALL = "all";
            String EACH = "each";
            String BUILD = "build";
            String INITIALIZE = "initialize";
            String VALIDATE = "validate";
            String SOURCES = "sources";
            String RESOURCES = "resources";
            String COMPILE = "compile";
            String READY = "ready";
            String PACKAGE = "package";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params.md

    * `limit`: with a value of `10`
    
    As they are part of the URL, they are "naturally" strings.
    
    But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it.
    
    All the same process that applied for path parameters also applies for query parameters:
    
    * Editor support (obviously)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	}
    
    	data := r.Reader
    	// Validate input data size and it can never be less than zero.
    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return pi, toObjectErr(errInvalidArgument)
    	}
    
    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    	// Validates if upload ID exists.
    	fi, _, err := er.checkUploadIDExists(ctx, bucket, object, uploadID, true)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    	if len(policies) == 0 {
    		t.Fatal("no policies found")
    	}
    
    	if policies[0] != "consoleAdmin" {
    		t.Fatalf("expected 'consoleAdmin', %s", policies[0])
    	}
    }
    
    // TestSkipContentSha256Cksum - Test validate the logic which decides whether
    // to skip checksum validation based on the request header.
    func TestSkipContentSha256Cksum(t *testing.T) {
    	testCases := []struct {
    		inputHeaderKey   string
    		inputHeaderValue string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

                        @Nullable List<RemoteRepository> repositories) {
                    super(session, trace);
                    this.artifactCoordinates = artifactCoordinates;
                    this.repositories = validate(repositories);
                }
    
                @Nonnull
                @Override
                public ArtifactCoordinates getArtifactCoordinates() {
                    return artifactCoordinates;
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacCredentialType.java

            this.credentialType = data;
            if (!isCredentialTypeCorrect()) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
        /**
         * Validates whether the credential type data is correct.
         * @return true if the credential type is valid, false otherwise
         */
        public boolean isCredentialTypeCorrect() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. docs_src/security/tutorial004_an_py39.py

        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": "Bearer"},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
            if username is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

        void testPacUnicodeStringCheckWithValidPointer() throws Exception {
            // When pointer is non-zero, validate string length
            String testString = "TEST";
            short length = (short) (testString.length() * 2); // Unicode length
            PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100);
    
            // Should validate string length
            String result = unicodeString.check(testString);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         * Updates the LDAP configuration.
         */
        public void updateConfig() {
            isBind = false;
        }
    
        /**
         * Validates the LDAP connection.
         *
         * @return True if the LDAP connection is valid, otherwise false.
         */
        protected boolean validate() {
            if (!isBind) {
                if (fessConfig.getLdapAdminSecurityPrincipal() == null || fessConfig.getLdapAdminSecurityCredentials() == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
Back to top