@Singleton public class BambooCredentialsExportResource extends Object
Constructor and Description |
---|
BambooCredentialsExportResource(CredentialsExportService credentialsExportService,
EncryptedCredentialsAccessor encryptedCredentialsAccessor,
BambooPermissionManager bambooPermissionManager,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
exportAllCredentials()
Export configuration of all shared credentials to YAML format.
|
javax.ws.rs.core.Response |
exportCredentials(long credentialId,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a shared credential to YAML format
|
javax.ws.rs.core.Response |
exportCredentials(String oidString,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a shared credential to YAML format
|
javax.ws.rs.core.Response |
exportCredentialsByName(String name,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a shared credential to YAML format
|
public BambooCredentialsExportResource(CredentialsExportService credentialsExportService, EncryptedCredentialsAccessor encryptedCredentialsAccessor, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
public javax.ws.rs.core.Response exportAllCredentials()
public javax.ws.rs.core.Response exportCredentials(long credentialId, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
credentialId
- shared credential idpublic javax.ws.rs.core.Response exportCredentials(String oidString, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
oidString
- shared credential oidpublic javax.ws.rs.core.Response exportCredentialsByName(String name, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
name
- shared credential nameCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.