Class CredentialValidator
java.lang.Object
org.citrusframework.kubernetes.config.CredentialValidator
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CredentialValidator
public CredentialValidator()
-
-
Method Details
-
isValid
Validates the given credentials based on the following rules. Returnstrueif and only if none of the following conditions are met:usernameis set ANDoauthTokenis setpasswordis set ANDoauthTokenis setusernameis not set ANDpasswordis set
- Parameters:
username- The username.password- The password.oauthToken- The OAuth token.- Returns:
- true if the combination is valid, false otherwise.
-