Class BitbucketCloudApiTokenUtils
java.lang.Object
com.atlassian.bamboo.repository.configuration.BitbucketCloudApiTokenUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPasswordAToken(String password) Checks if the given password is an Atlassian API token.
-
Constructor Details
-
BitbucketCloudApiTokenUtils
public BitbucketCloudApiTokenUtils()
-
-
Method Details
-
isPasswordAToken
Checks if the given password is an Atlassian API token.An API token is identified by the prefix "ATAT".
- Parameters:
password- the password to check- Returns:
trueif the password is an API token,falseotherwise
-