Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 183 for Credential (0.06 seconds)

  1. 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. cmd/post-policy_test.go

    		formData       map[string]string
    	}{
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"AWSAccessKeyId": "invalidaccesskey"}},
    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"Awsaccesskeyid": "invalidaccesskey"}},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. internal/auth/credentials.go

    	}
    	return s.String()
    }
    
    // IsExpired - returns whether Credential is expired or not.
    func (cred Credentials) IsExpired() bool {
    	if cred.Expiration.IsZero() || cred.Expiration.Equal(timeSentinel) {
    		return false
    	}
    
    	return cred.Expiration.Before(time.Now().UTC())
    }
    
    // IsTemp - returns whether credential is temporary or not.
    func (cred Credentials) IsTemp() bool {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. 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",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  5. cmd/postpolicyform_test.go

    			success: false,
    		},
    		// invalid json.
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.login.credential.LoginCredential;
    
    import com.microsoft.aad.msal4j.IAccount;
    import com.microsoft.aad.msal4j.IAuthenticationResult;
    
    /**
     * Microsoft Entra ID credential implementation for Fess authentication.
     * Provides login credential functionality using Entra ID authentication results.
     */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. 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},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/SsoManager.java

            }
            return !Constants.NONE.equals(ssoType);
        }
    
        /**
         * Attempts to obtain login credentials using the configured SSO authenticator.
         *
         * @return The login credential from SSO authentication, or null if SSO is not available
         *         or no credential could be obtained
         */
        public LoginCredential getLoginCredential() {
            if (available()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            }
    
        }
    
        /**
         * Resolves the SPNEGO credential to a user entity.
         *
         * This method handles the resolution of SPNEGO credentials by checking
         * if the user is an admin user or needs to be authenticated through LDAP.
         *
         * @param resolver The credential resolver to use for user lookup
         */
        @Override
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.8K bytes
    - Click Count (3)
Back to Top