Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for yyyyMMdd (0.18 sec)

  1. cmd/signature-v4_test.go

    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, "EXAMPLEINVALIDEXAMPL", now.Format(yyyymmdd), globalMinioDefaultRegion)},
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) It should fail with a bad signature.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, accessKey, now.Format(yyyymmdd), globalMinioDefaultRegion)},
    				"X-Amz-Date":       []string{now.Format(iso8601Format)},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  2. cmd/signature-v4-parser_test.go

    // Credential = accessKey + SlashSeparator+ scope
    // where scope = string.Join([]string{  currTime.Format(yyyymmdd),
    //
    //				globalMinioDefaultRegion,
    //	              	"s3",
    //			        "aws4_request",
    //	                      },SlashSeparator)
    func TestParseCredentialHeader(t *testing.T) {
    	sampleTimeStr := UTCNow().Format(yyyymmdd)
    
    	testCases := []struct {
    		inputCredentialStr  string
    		expectedCredentials credentialHeader
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // AWS Signature Version '4' constants.
    const (
    	signV4Algorithm = "AWS4-HMAC-SHA256"
    	iso8601Format   = "20060102T150405Z"
    	yyyymmdd        = "20060102"
    )
    
    type serviceType string
    
    const (
    	serviceS3  serviceType = "s3"
    	serviceSTS serviceType = "sts"
    )
    
    // getCanonicalHeaders generate a list of request headers with their values
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/CoreLibConstants.java

        /**
         * UTF-8
         */
        public static final String UTF_8 = "UTF-8";
    
        public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8);
    
        public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolator.java

    import org.apache.maven.model.Model;
    import org.apache.maven.project.ProjectBuilderConfiguration;
    
    /**
     */
    @Deprecated
    public interface ModelInterpolator {
        String DEFAULT_BUILD_TIMESTAMP_FORMAT = "yyyyMMdd-HHmm";
    
        String BUILD_TIMESTAMP_FORMAT_PROPERTY = "maven.build.timestamp.format";
    
        String ROLE = ModelInterpolator.class.getName();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			dates:              []interface{}{curTimePlus5Min.Format(iso8601TimeFormat), curTime.Format(iso8601DateFormat), curTime.Format(yyyymmdd)},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().dateConverter("yyyyMMdd").convertValue(new java.util.Date(0), "aaa", String.class),
                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSqlDateConverter() throws Exception {
            assertThat(new CopyOptions().sqlDateConverter("yyyyMMdd").convertValue(new java.sql.Date(0), "aaa", String.class),
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/env/suggest/resources/log4j2.xml

    		<Property name="log.pattern" value="%d [%t] %-5p %msg%n" />
    		<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" />
    		<Property name="backup.date.suffix" value="_%d{yyyyMMdd}" />
    		<Property name="backup.max.history" value="10" />
    	</Properties>
    
    	<Appenders>
    		<RollingFile name="AppFile" fileName="${log.file.basedir}/${domain.name}.log"
    XML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Feb 20 13:05:30 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/env/thumbnail/resources/log4j2.xml

    		<Property name="log.pattern" value="%d [%t] %-5p %msg%n" />
    		<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" />
    		<Property name="backup.date.suffix" value="_%d{yyyyMMdd}" />
    		<Property name="backup.max.history" value="10" />
    	</Properties>
    
    	<Appenders>
    		<RollingFile name="AppFile" fileName="${log.file.basedir}/${domain.name}.log"
    XML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Feb 20 13:05:30 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser.go

    		date    time.Time
    		region  string
    		service string
    		request string
    	}
    }
    
    // Return scope string.
    func (c credentialHeader) getScope() string {
    	return strings.Join([]string{
    		c.scope.date.Format(yyyymmdd),
    		c.scope.region,
    		c.scope.service,
    		c.scope.request,
    	}, SlashSeparator)
    }
    
    func getReqAccessKeyV4(r *http.Request, region string, stype serviceType) (auth.Credentials, bool, APIErrorCode) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top