| Modifier and Type | Class and Description |
|---|---|
class |
CredentialsNameProvider<C extends Credentials>
Provides names for credentials.
|
class |
CredentialsResolver<F extends Credentials,T extends Credentials>
Translates
Credentials from one type into another. |
class |
CredentialsResolver<F extends Credentials,T extends Credentials>
Translates
Credentials from one type into another. |
class |
CredentialsSnapshotTaker<C extends Credentials>
Some credential types can store some of the credential details in a file outside of Jenkins.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseCredentials
Base class for Credentials.
|
| Modifier and Type | Method and Description |
|---|---|
static <C extends Credentials> |
CredentialsMatchers.filter(Collection<C> credentials,
CredentialsMatcher matcher)
Filters credentials using the supplied matcher.
|
static <C extends Credentials> |
CredentialsMatchers.filter(Iterable<C> credentials,
CredentialsMatcher matcher)
Filters credentials using the supplied matcher.
|
static <C extends Credentials> |
CredentialsMatchers.filter(List<C> credentials,
CredentialsMatcher matcher)
Filters credentials using the supplied matcher.
|
static <C extends Credentials> |
CredentialsMatchers.filter(Set<C> credentials,
CredentialsMatcher matcher)
Filters credentials using the supplied matcher.
|
static <C extends Credentials,V> |
CredentialsMatchers.filterKeys(Map<C,V> credentialMap,
CredentialsMatcher matcher)
Filters a map keyed by credentials using the supplied matcher.
|
static <C extends Credentials,K> |
CredentialsMatchers.filterValues(Map<K,C> credentialMap,
CredentialsMatcher matcher)
Filters a map based on credential values using the supplied matcher.
|
static <C extends Credentials> |
CredentialsMatchers.firstOrDefault(Iterable<C> credentials,
CredentialsMatcher matcher,
C defaultIfNone)
Returns the first credential from a collection that matches the supplied matcher or if none match then the
specified default.
|
static <C extends Credentials> |
CredentialsMatchers.firstOrNull(Iterable<C> credentials,
CredentialsMatcher matcher)
Returns the first credential from a collection that matches the supplied matcher or
null if none match. |
<C extends Credentials> |
UserCredentialsProvider.UserCredentialsProperty.getCredentials(Class<C> type)
Helper method.
|
<C extends Credentials> |
SystemCredentialsProvider.ProviderImpl.getCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication)
Returns the credentials provided by this provider which are available to the specified
Authentication
for the specified Item |
<C extends Credentials> |
CredentialsProvider.getCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication)
Returns the credentials provided by this provider which are available to the specified
Authentication
for the specified Item |
<C extends Credentials> |
SystemCredentialsProvider.ProviderImpl.getCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns 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 Credentials> |
CredentialsProvider.getCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns 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 Credentials> |
UserCredentialsProvider.getCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication)
Returns the credentials provided by this provider which are available to the specified
Authentication
for items in the specified ItemGroup |
<C extends Credentials> |
SystemCredentialsProvider.ProviderImpl.getCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication)
Returns the credentials provided by this provider which are available to the specified
Authentication
for items in the specified ItemGroup |
abstract <C extends Credentials> |
CredentialsProvider.getCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication)
Returns the credentials provided by this provider which are available to the specified
Authentication
for items in the specified ItemGroup |
<C extends Credentials> |
UserCredentialsProvider.getCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns 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 .plugins.credentials.domains.DomainRequirements. |
<C extends Credentials> |
SystemCredentialsProvider.ProviderImpl.getCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns 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 .plugins.credentials.domains.DomainRequirements. |
<C extends Credentials> |
CredentialsProvider.getCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns 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 .plugins.credentials.domains.DomainRequirements. |
static <C extends Credentials> |
CredentialsResolver.getResolver(Class<C> clazz)
Retrieves the
CredentialsResolver for the specified type (if it exists) |
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type)
Deprecated.
use
CredentialsProvider.lookupCredentials(Class, Item, Authentication, List),
CredentialsProvider.lookupCredentials(Class, Item, Authentication, DomainRequirement...),
CredentialsProvider.lookupCredentials(Class, ItemGroup, Authentication, List)
or CredentialsProvider.lookupCredentials(Class, ItemGroup, Authentication, DomainRequirement...) |
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
org.acegisecurity.Authentication authentication)
Deprecated.
use
CredentialsProvider.lookupCredentials(Class, Item, Authentication, List),
CredentialsProvider.lookupCredentials(Class, Item, Authentication, DomainRequirement...),
CredentialsProvider.lookupCredentials(Class, ItemGroup, Authentication, List)
or CredentialsProvider.lookupCredentials(Class, ItemGroup, Authentication, DomainRequirement...) |
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.Item item)
|
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication)
|
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
DomainRequirement... domainRequirements)
Returns all credentials which are available to the specified
Authentication
for use by the specified Item. |
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns all credentials which are available to the specified
Authentication
for use by the specified Item. |
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup)
|
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication)
|
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
DomainRequirement... domainRequirements)
Returns all credentials which are available to the specified
Authentication
for use by the Items in the specified ItemGroup. |
static <C extends Credentials> |
CredentialsProvider.lookupCredentials(Class<C> type,
hudson.model.ItemGroup itemGroup,
org.acegisecurity.Authentication authentication,
List<DomainRequirement> domainRequirements)
Returns all credentials which are available to the specified
Authentication
for use by the Items in the specified ItemGroup. |
static <C extends Credentials> |
CredentialsProvider.snapshot(C credential)
Make a best effort to ensure that the supplied credential is a snapshot credential (i.e.
|
static <C extends Credentials> |
CredentialsProvider.snapshot(Class<C> clazz,
C credential)
Make a best effort to ensure that the supplied credential is a snapshot credential (i.e.
|
static <C extends Credentials> |
CredentialsProvider.track(hudson.model.Item item,
C credentials)
Track the usage of credentials in a specific item but not associated with a specific build, for example SCM
polling.
|
static <C extends Credentials> |
CredentialsProvider.track(hudson.model.Node node,
C credentials)
Track the usage of credentials in a specific node.
|
static <C extends Credentials> |
CredentialsProvider.track(hudson.model.Run build,
C credentials)
Track the usage of credentials in a specific build.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Item item,
C... credentials)
Track the usage of credentials in a specific item but not associated with a specific build, for example SCM
polling.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Item item,
List<C> credentials)
Track the usage of credentials in a specific item but not associated with a specific build, for example SCM
polling.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Node node,
C... credentials)
Track the usage of credentials in a specific node.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Node node,
List<C> credentials)
Track the usage of credentials in a specific node.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Run build,
C... credentials)
Track the usage of credentials in a specific build.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Run build,
List<C> credentials)
Track the usage of credentials in a specific build.
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
CredentialsStoreAction.CredentialsWrapper.getCredentials()
Exposes the backing
Credentials. |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<Credentials,CredentialsDescriptor> |
CredentialsProvider.allCredentialsDescriptors()
Returns all the registered
Credentials descriptors. |
hudson.DescriptorExtensionList<Credentials,CredentialsDescriptor> |
UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl.getCredentialDescriptors()
Gets all the credentials descriptors.
|
hudson.DescriptorExtensionList<Credentials,CredentialsDescriptor> |
CredentialsStoreAction.CredentialsWrapper.DescriptorImpl.getCredentialDescriptors()
Exposes
CredentialsProvider.allCredentialsDescriptors() to Jelly |
List<Credentials> |
UserCredentialsProvider.UserCredentialsProperty.getCredentials()
Gets all the user's credentials.
|
List<Credentials> |
SystemCredentialsProvider.getCredentials()
Get all the (
Domain.global()) credentials. |
List<Credentials> |
UserCredentialsProvider.StoreImpl.getCredentials(Domain domain)
Returns an unmodifiable list of credentials for the specified domain.
|
List<Credentials> |
SystemCredentialsProvider.StoreImpl.getCredentials(Domain domain)
Returns an unmodifiable list of credentials for the specified domain.
|
abstract List<Credentials> |
CredentialsStore.getCredentials(Domain domain)
Returns an unmodifiable list of credentials for the specified domain.
|
Map<Domain,List<Credentials>> |
UserCredentialsProvider.UserCredentialsProperty.getDomainCredentialsMap()
The map of domain credentials.
|
Map<Domain,List<Credentials>> |
SystemCredentialsProvider.getDomainCredentialsMap()
Get all the credentials.
|
static <C extends Credentials> |
CredentialsResolver.getResolver(Class<C> clazz)
Retrieves the
CredentialsResolver for the specified type (if it exists) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UserCredentialsProvider.StoreImpl.addCredentials(Domain domain,
Credentials credentials)
|
boolean |
SystemCredentialsProvider.StoreImpl.addCredentials(Domain domain,
Credentials credentials)
|
abstract boolean |
CredentialsStore.addCredentials(Domain domain,
Credentials credentials)
|
boolean |
CredentialsStore.addDomain(Domain domain,
Credentials... credentials)
Adds a new
Domain with seed credentials. |
int |
CredentialsNameComparator.compare(Credentials c1,
Credentials c2) |
static hudson.model.Fingerprint |
CredentialsProvider.getFingerprintOf(Credentials c)
Retrieves the
Fingerprint for a specific credential. |
static hudson.model.Fingerprint |
CredentialsProvider.getOrCreateFingerprintOf(Credentials c)
Creates a fingerprint that can be used to track the usage of a specific credential.
|
boolean |
CredentialsMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
static String |
CredentialsNameProvider.name(Credentials credentials)
Name the credential.
|
boolean |
UserCredentialsProvider.StoreImpl.removeCredentials(Domain domain,
Credentials credentials)
|
boolean |
SystemCredentialsProvider.StoreImpl.removeCredentials(Domain domain,
Credentials credentials)
|
abstract boolean |
CredentialsStore.removeCredentials(Domain domain,
Credentials credentials)
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Item item,
C... credentials)
Track the usage of credentials in a specific item but not associated with a specific build, for example SCM
polling.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Node node,
C... credentials)
Track the usage of credentials in a specific node.
|
static <C extends Credentials> |
CredentialsProvider.trackAll(hudson.model.Run build,
C... credentials)
Track the usage of credentials in a specific build.
|
boolean |
UserCredentialsProvider.StoreImpl.updateCredentials(Domain domain,
Credentials current,
Credentials replacement)
Updates the specified
Credentials from the specified Domain for this CredentialsStore with the supplied replacement. |
boolean |
SystemCredentialsProvider.StoreImpl.updateCredentials(Domain domain,
Credentials current,
Credentials replacement)
Updates the specified
Credentials from the specified Domain for this CredentialsStore with the supplied replacement. |
abstract boolean |
CredentialsStore.updateCredentials(Domain domain,
Credentials current,
Credentials replacement)
Updates the specified
Credentials from the specified Domain for this CredentialsStore with the supplied replacement. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UserCredentialsProvider.StoreImpl.addDomain(Domain domain,
List<Credentials> credentials)
Adds a new
Domain with seed credentials. |
boolean |
SystemCredentialsProvider.StoreImpl.addDomain(Domain domain,
List<Credentials> credentials)
Adds a new
Domain with seed credentials. |
boolean |
CredentialsStore.addDomain(Domain domain,
List<Credentials> credentials)
Adds a new
Domain with seed credentials. |
boolean |
CredentialsProvider.isApplicable(Class<? extends Credentials> clazz)
Returns
true if this CredentialsProvider can provide credentials of the supplied type. |
void |
UserCredentialsProvider.UserCredentialsProperty.setDomainCredentialsMap(Map<Domain,List<Credentials>> domainCredentialsMap)
Sets the map of domain credentials.
|
void |
SystemCredentialsProvider.setDomainCredentialsMap(Map<Domain,List<Credentials>> domainCredentialsMap)
Set all the credentials.
|
| Constructor and Description |
|---|
CredentialsWrapper(CredentialsStoreAction.DomainWrapper domain,
Credentials credentials,
String id)
Constructor.
|
TableEntry(CredentialsProvider provider,
CredentialsStore store,
Domain domain,
Credentials credentials,
boolean masked)
Constructor.
|
| Constructor and Description |
|---|
CredentialsDescriptor(Class<? extends Credentials> clazz)
Constructor.
|
UserCredentialsProperty(List<Credentials> credentials)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Credentials |
BaseCredentialsCLICommand.getCredentialsById(CredentialsStore store,
Domain domain,
String id) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CertificateCredentials
Client Credentials stored in a KeyStore.
|
interface |
IdCredentials
Credentials that have an unique ID that assists in retrieving the specific credential from a collection of
Credentials. |
interface |
PasswordCredentials
Credentials that have a password component.
|
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.
|
interface |
UsernameCredentials
Credentials that have a username.
|
interface |
UsernamePasswordCredentials
Credentials that have both a username and a password component.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DomainRestrictedCredentials
Credentials that have a built in restriction
|
| Modifier and Type | Method and Description |
|---|---|
static <C extends Credentials> |
DomainCredentials.getCredentials(Map<Domain,List<Credentials>> domainCredentialsMap,
Class<C> type,
List<DomainRequirement> domainRequirements,
CredentialsMatcher credentialsMatcher)
Helper to assist retrieving credentials from the map based store.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<Domain,List<Credentials>> |
DomainCredentials.asMap(Collection<DomainCredentials> collection)
Converts a
Collection of DomainCredentials into a Map keyed by Domain with
List of Credentials as values. |
List<Credentials> |
DomainCredentials.getCredentials()
Returns the credentials.
|
static Map<Domain,List<Credentials>> |
DomainCredentials.migrateListToMap(Map<Domain,List<Credentials>> map,
List<Credentials> list)
Handle migration of standard storage method for pre-domain data into domain segmented data.
|
static Map<Domain,List<Credentials>> |
DomainCredentials.toCopyOnWriteMap(Map<Domain,List<Credentials>> map)
Converts a
Map keyed by Domain with List of Credentials as values into a
List of DomainCredentials into a |
| Modifier and Type | Method and Description |
|---|---|
static List<DomainCredentials> |
DomainCredentials.asList(Map<Domain,List<Credentials>> map)
Converts a
Map keyed by Domain with List of Credentials as values into a
List of DomainCredentials into a |
static <C extends Credentials> |
DomainCredentials.getCredentials(Map<Domain,List<Credentials>> domainCredentialsMap,
Class<C> type,
List<DomainRequirement> domainRequirements,
CredentialsMatcher credentialsMatcher)
Helper to assist retrieving credentials from the map based store.
|
static Map<Domain,List<Credentials>> |
DomainCredentials.migrateListToMap(Map<Domain,List<Credentials>> map,
List<Credentials> list)
Handle migration of standard storage method for pre-domain data into domain segmented data.
|
static Map<Domain,List<Credentials>> |
DomainCredentials.migrateListToMap(Map<Domain,List<Credentials>> map,
List<Credentials> list)
Handle migration of standard storage method for pre-domain data into domain segmented data.
|
static Map<Domain,List<Credentials>> |
DomainCredentials.toCopyOnWriteMap(Map<Domain,List<Credentials>> map)
Converts a
Map keyed by Domain with List of Credentials as values into a
List of DomainCredentials into a |
| Constructor and Description |
|---|
DomainCredentials(Domain domain,
List<Credentials> credentials)
Stapler's constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseStandardCredentials
Base class for
StandardCredentials. |
class |
CertificateCredentialsImpl |
class |
UsernamePasswordCredentialsImpl
Concrete implementation of
StandardUsernamePasswordCredentials. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UsernameMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
ScopeMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
NotMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
InstanceOfMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
IdMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
ConstantMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
BeanPropertyMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
AnyOfMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
boolean |
AllOfMatcher.matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
Copyright © 2016–2018. All rights reserved.