Package com.atlassian.bamboo.credentials
Class UsernamePasswordCredentialTypeExporter
java.lang.Object
com.atlassian.bamboo.credentials.UsernamePasswordCredentialTypeExporter
- All Implemented Interfaces:
CredentialTypeExporter
public class UsernamePasswordCredentialTypeExporter
extends Object
implements CredentialTypeExporter
-
Constructor Summary
ConstructorsConstructorDescriptionUsernamePasswordCredentialTypeExporter
(com.atlassian.struts.TextProvider textProvider, DataEncryptionValidator dataEncryptionValidator) -
Method Summary
Modifier and TypeMethodDescriptiontoCredentialsConfiguration
(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties) Converts properties object received from importer to Bamboo credentials configuration.com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
toSpecsEntity
(CredentialsData credentialsData) Exports the supplied credentials data and credential configuration to a credential type-specific properties.
-
Constructor Details
-
UsernamePasswordCredentialTypeExporter
@Inject public UsernamePasswordCredentialTypeExporter(com.atlassian.struts.TextProvider textProvider, DataEncryptionValidator dataEncryptionValidator)
-
-
Method Details
-
toSpecsEntity
public com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials toSpecsEntity(CredentialsData credentialsData) Description copied from interface:CredentialTypeExporter
Exports the supplied credentials data and credential configuration to a credential type-specific properties.- Specified by:
toSpecsEntity
in interfaceCredentialTypeExporter