Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 449 for credential (0.27 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/FessCredential.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.base.login;
    
    public interface FessCredential {
    
        String getUserId();
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 730 bytes
    - Viewed (0)
  2. internal/auth/credentials_test.go

    		ccred          Credentials
    		expectedResult bool
    	}{
    		// Same Credentialss.
    		{cred, cred, true},
    		// Empty credentials to compare.
    		{cred, Credentials{}, false},
    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    		{cred, Credentials{AccessKey: "myuser", SecretKey: cred.SecretKey}, false},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/signature-v4-parser_test.go

    	}
    }
    
    // TestParseCredentialHeader - validates the format validator and extractor for the Credential header in an aws v4 request.
    // A valid format of credential should be of the following format.
    // Credential = accessKey + SlashSeparator+ scope
    // where scope = string.Join([]string{  currTime.Format(yyyymmdd),
    //
    //				globalMinioDefaultRegion,
    //	              	"s3",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  4. internal/auth/credentials.go

    }
    
    // IsServiceAccount - returns whether credential is a service account or not
    func (cred Credentials) IsServiceAccount() bool {
    	_, ok := cred.Claims[iamPolicyClaimNameSA]
    	return cred.ParentUser != "" && ok
    }
    
    // IsValid - returns whether credential is valid or not.
    func (cred Credentials) IsValid() bool {
    	// Verify credentials if its enabled or not set.
    	if cred.Status == AccountOff {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region
    
    	// Parse credential tag.
    	credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    		return psv, ErrInvalidQuerySignatureAlgo
    	}
    
    	// Initialize signature version '4' structured header.
    	preSignV4Values := preSignValues{}
    
    	// Save credential.
    	preSignV4Values.Credential, aec = parseCredentialHeader("Credential="+query.Get(xhttp.AmzCredential), region, stype)
    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	var e error
    	// Save date in native time.Time.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. api/go1.9.txt

    pkg syscall (netbsd-386-cgo), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-386), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-amd64-cgo), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-amd64), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-arm-cgo), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-arm), type Credential struct, NoSetGroups bool
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Credentials.kt

     */
    package okhttp3
    
    import java.nio.charset.Charset
    import kotlin.text.Charsets.ISO_8859_1
    import okio.ByteString.Companion.encode
    
    /** Factory for HTTP authorization credentials. */
    object Credentials {
      /** Returns an auth credential for the Basic scheme. */
      @JvmStatic @JvmOverloads
      fun basic(
        username: String,
        password: String,
        charset: Charset = ISO_8859_1,
      ): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     *
     * ```java
     * if (response.request().header("Authorization") != null) {
     *   return null; // Give up, we've already failed to authenticate.
     * }
     *
     * String credential = Credentials.basic(...)
     * return response.request().newBuilder()
     *     .header("Authorization", credential)
     *     .build();
     * ```
     *
     * When reactive authentication is requested by a proxy server, the response code is 407 and the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/post-policy_test.go

    	// Add the date condition, only accept the current date.
    	dateConditionStr := fmt.Sprintf(`["eq", "$x-amz-date", "%s"]`, t.Format(iso8601DateFormat))
    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top