Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CheckKey (0.19 sec)

  1. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/checks/DocumentCheck.kt

    
    interface DocumentCheck : InterpretationStepFeatureHandler<InterpretationStepFeature.DocumentChecks> {
        val checkKey: String
    
        override fun shouldHandleFeature(feature: InterpretationStepFeature.DocumentChecks): Boolean =
            checkKey in feature.checkKeys
    
        fun detectFailures(document: DeclarativeDocument, resolutionContainer: DocumentResolutionContainer): List<DocumentCheckFailure>
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/settings/SettingsBlocksCheck.kt

        val feature = SettingsBlockCheckFeature()
    
        class SettingsBlockCheckFeature() : InterpretationStepFeature.DocumentChecks, Serializable {
            override val checkKeys: Iterable<String> = listOf(checkKey)
        }
    
        override val checkKey: String
            get() = SettingsBlocksCheck::class.java.name
    
        enum class SpecialOrderBlock {
            PLUGIN_MANAGEMENT, PLUGINS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    		u, ok, err := globalIAMSys.CheckKey(r.Context(), accessKey)
    		if err != nil {
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    		if !ok {
    			// Credentials could be valid but disabled - return a different
    			// error in such a scenario.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. cmd/iam.go

    				logErr := fmt.Errorf("failed to delete extraneous LDAP DN mapping for `%s`: %w", origKeys[0], delErr)
    				iamLogIf(ctx, logErr)
    			}
    		}
    	}
    	return nil
    }
    
    // CheckKey validates the incoming accessKey
    func (sys *IAMSys) CheckKey(ctx context.Context, accessKey string) (u UserIdentity, ok bool, err error) {
    	if !sys.Initialized() {
    		return u, false, nil
    	}
    
    	if accessKey == globalActiveCred.AccessKey {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top