Extension Points defined in Credentials Plugin

Credentials

A generic type of credentials. In general please extend from BaseCredentials rather than implement this interface. The interface is provided:

  1. To allow for orthogonal traits to be built up in interfaces that extend credentials, e.g. username/password vs username/ssh-key vs email/password - a single credentials impl could provide all four fields and different credentials consumers might request the different flavours
  2. In order to facility cases where it is just not possible to change the base class when retrofitting support for credentials into an existing plugin.

Implementations:

CredentialsProvider

An extension point for providing Credentials .

Implementations:

CredentialsProviderFilter

A filter of CredentialsProvider instances used by CredentialsProviderManager to determine which providers are active.

Implementations:

CredentialsProviderTypeRestriction

A filter of CredentialsDescriptor types scoped to specific CredentialsProvider instances used by CredentialsProviderManager to determine which types are applicable to each provider.

Implementations:

CredentialsSelectHelper.ContextResolver

An extension point to allow plugging in additional resolution of ModelObject instances.

Implementations:

CredentialsSnapshotTaker

Some credential types can store some of the credential details in a file outside of Jenkins. Taking a snapshot of the credential ensures that all the details are captured within the credential. For example com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl can use different keystores implementations to hold the certificate. Calling #snapshot(Credentials) resolve the actual source into a source like com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl.UploadedKeyStoreSource which is self contained.

Implementations:

CredentialsTypeFilter

A filter of CredentialsDescriptor types used by CredentialsProviderManager to determine which types are active.

Implementations:

DomainRequirement

Base class for all requirements that can be fulfilled by Domain s.

Implementations:

DomainSpecification

Base class for a specification against which DomainRequirement s can be tested.

Implementations: