public class SharedCredentialResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestSharedCredential |
PASSWORD_SHARED_CREDENTIAL |
static RestListModel<RestSharedCredential> |
PASSWORD_SHARED_CREDENTIALS |
static RestSharedCredential |
SSH_SHARED_CREDENTIAL |
static RestListModel<RestSharedCredential> |
SSH_SHARED_CREDENTIALS |
Constructor and Description |
---|
SharedCredentialResource(CredentialsManager credentialsManager,
ProjectManager projectManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
LinkService linkService,
RestPermissionCheck restPermissionCheck,
SharedCredentialConversionFunction sharedCredentialConversionFunction) |
Modifier and Type | Method and Description |
---|---|
@NotNull RestSharedCredential |
createPasswordSharedCredential(@NotNull RestSharedCredential restSharedCredential,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestSharedCredential |
createSshSharedCredential(@NotNull RestSharedCredential restSharedCredential,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
deletePasswordSharedCredential(long sharedCredentialId) |
javax.ws.rs.core.Response |
deleteSshSharedCredential(long sharedCredentialId) |
@NotNull RestSharedCredential |
getPasswordSharedCredential(@NotNull Long sharedCredentialId,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestListModel<RestSharedCredential> |
getPasswordSharedCredentials(@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull Expansion expansion) |
@NotNull RestSharedCredential |
getSshSharedCredential(@NotNull Long sharedCredentialId,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestListModel<RestSharedCredential> |
getSshSharedCredentials(@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull Expansion expansion) |
RestSharedCredential |
updatePasswordSharedCredential(long sharedCredentialId,
@NotNull RestSharedCredential restSharedCredential,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
RestSharedCredential |
updateSshSharedCredential(long sharedCredentialId,
@NotNull RestSharedCredential restSharedCredential,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
protected @NotNull ErrorCollection |
validate(@NotNull RestSharedCredential restSharedCredential,
@Nullable Long sharedCredentialId) |
public static final RestSharedCredential SSH_SHARED_CREDENTIAL
public static final RestSharedCredential PASSWORD_SHARED_CREDENTIAL
public static final RestListModel<RestSharedCredential> SSH_SHARED_CREDENTIALS
public static final RestListModel<RestSharedCredential> PASSWORD_SHARED_CREDENTIALS
public SharedCredentialResource(CredentialsManager credentialsManager, ProjectManager projectManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, LinkService linkService, RestPermissionCheck restPermissionCheck, SharedCredentialConversionFunction sharedCredentialConversionFunction)
@NotNull public @NotNull RestListModel<RestSharedCredential> getSshSharedCredentials(@Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo, @Context @NotNull @NotNull Expansion expansion)
@NotNull public @NotNull RestSharedCredential getSshSharedCredential(@NotNull @NotNull Long sharedCredentialId, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
@NotNull public @NotNull RestSharedCredential createSshSharedCredential(@NotNull @NotNull RestSharedCredential restSharedCredential, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
WebValidationException
public RestSharedCredential updateSshSharedCredential(long sharedCredentialId, @NotNull @NotNull RestSharedCredential restSharedCredential, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response deleteSshSharedCredential(long sharedCredentialId)
@NotNull public @NotNull RestListModel<RestSharedCredential> getPasswordSharedCredentials(@Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo, @Context @NotNull @NotNull Expansion expansion)
@NotNull public @NotNull RestSharedCredential getPasswordSharedCredential(@NotNull @NotNull Long sharedCredentialId, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
@NotNull public @NotNull RestSharedCredential createPasswordSharedCredential(@NotNull @NotNull RestSharedCredential restSharedCredential, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
WebValidationException
public RestSharedCredential updatePasswordSharedCredential(long sharedCredentialId, @NotNull @NotNull RestSharedCredential restSharedCredential, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response deletePasswordSharedCredential(long sharedCredentialId)
@NotNull protected @NotNull ErrorCollection validate(@NotNull @NotNull RestSharedCredential restSharedCredential, @Nullable @Nullable Long sharedCredentialId)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences