| Package | Description |
|---|---|
| com.cloudbees.plugins.credentials | |
| com.cloudbees.plugins.credentials.common | |
| com.cloudbees.plugins.credentials.impl |
| Modifier and Type | Method and Description |
|---|---|
static <C extends IdCredentials> |
CredentialsProvider.findCredentialById(String id,
Class<C> type,
hudson.model.Run<?,?> run,
DomainRequirement... domainRequirements)
A common requirement for plugins is to resolve a specific credential by id in the context of a specific run.
|
static <C extends IdCredentials> |
CredentialsProvider.findCredentialById(String id,
Class<C> type,
hudson.model.Run<?,?> run,
List<DomainRequirement> domainRequirements)
A common requirement for plugins is to resolve a specific credential by id in the context of a specific run.
|
<C extends IdCredentials> |
CredentialsProvider.getCredentialIds(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements,
CredentialsMatcher matcher)
Returns a
ListBoxModel of the credentials provided by this provider which are available to the
specified Authentication for the specified Item and are appropriate for the
specified DomainRequirements. |
<C extends IdCredentials> |
CredentialsProvider.getCredentialIds(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements,
CredentialsMatcher matcher)
Returns a
ListBoxModel of the credentials provided by this provider which are available to the
specified Authentication for items in the specified ItemGroup and are appropriate for the
specified DomainRequirements. |
static <C extends IdCredentials> |
CredentialsProvider.listCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements,
CredentialsMatcher matcher)
Returns a
ListBoxModel of all credentials which are available to the specified Authentication
for use by the specified Item. |
static <C extends IdCredentials> |
CredentialsProvider.listCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements,
CredentialsMatcher matcher)
Returns a
ListBoxModel of all credentials which are available to the specified Authentication
for use by the Items in the specified ItemGroup. |
<C extends IdCredentials> |
CredentialsParameterValue.lookupCredentials(Class<C> type,
hudson.model.Run run,
DomainRequirement... domainRequirements) |
<C extends IdCredentials> |
CredentialsParameterValue.lookupCredentials(Class<C> type,
hudson.model.Run run,
List<DomainRequirement> domainRequirements) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIdCredentialsListBoxModel<T extends AbstractIdCredentialsListBoxModel<T,C>,C extends IdCredentials>
ListBoxModel with support for credentials. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
StandardCertificateCredentials
Credentials that have an ID, description, keystore and password, for example client certificates for SSL.
|
interface |
StandardCredentials
Credentials that have a description to help the user differentiate the specific credential from a collection of
Credentials and an ID to help Jenkins locate the
specific credential from a collection of Credentials. |
interface |
StandardUsernameCredentials
Credentials that have an ID, description and username.
|
interface |
StandardUsernamePasswordCredentials
The credential interface that standard username password based credentials should aim to implement.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
IdCredentials.Helpers.equals(IdCredentials self,
Object o)
Standard
Object.equals(Object) implementation. |
static int |
IdCredentials.Helpers.hashCode(IdCredentials self)
The standard
Object.hashCode() implementation. |
AbstractIdCredentialsListBoxModel<T,C> |
AbstractIdCredentialsListBoxModel.withAll(C... credentials)
Deprecated.
prefer using the
AbstractIdCredentialsListBoxModel.include(Item, Class) or AbstractIdCredentialsListBoxModel.includeAs(Authentication, Item, Class)
methods to build the list box contents in order to allow credentials providers to not have to instantiate
a full credential instance where those credential providers store the secrets external from Jenkins. |
AbstractIdCredentialsListBoxModel<T,C> |
AbstractIdCredentialsListBoxModel.withMatching(CredentialsMatcher matcher,
C... credentials)
Deprecated.
prefer using the
AbstractIdCredentialsListBoxModel.includeMatching(Item, Class, List, CredentialsMatcher)
or AbstractIdCredentialsListBoxModel.includeMatchingAs(Authentication, Item, Class, List, CredentialsMatcher)
methods to build the list box contents in order to allow credentials providers to not have to instantiate
a full credential instance where those credential providers store the secrets external from Jenkins. |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseStandardCredentials
Base class for
StandardCredentials. |
class |
CertificateCredentialsImpl |
class |
UsernamePasswordCredentialsImpl
Concrete implementation of
StandardUsernamePasswordCredentials. |
Copyright © 2016–2017. All rights reserved.