Uses of Interface
com.cloudbees.plugins.credentials.Credentials
Packages that use Credentials
Package
Description
-
Uses of Credentials in com.cloudbees.plugins.credentials
Classes in com.cloudbees.plugins.credentials with type parameters of type CredentialsModifier and TypeClassDescriptionclassCredentialsNameProvider<C extends Credentials>Provides names for credentials.classCredentialsResolver<F extends Credentials,T extends Credentials> TranslatesCredentialsfrom one type into another.classCredentialsResolver<F extends Credentials,T extends Credentials> TranslatesCredentialsfrom one type into another.classCredentialsSnapshotTaker<C extends Credentials>Some credential types can store some of the credential details in a file outside of Jenkins.Classes in com.cloudbees.plugins.credentials that implement CredentialsMethods in com.cloudbees.plugins.credentials with type parameters of type CredentialsModifier and TypeMethodDescriptionstatic <C extends Credentials>
Iterable<C> CredentialsMatchers.filter(Iterable<C> credentials, CredentialsMatcher matcher) Filters credentials using the supplied matcher.static <C extends Credentials>
Collection<C> CredentialsMatchers.filter(Collection<C> credentials, CredentialsMatcher matcher) Filters credentials using the supplied matcher.static <C extends Credentials>
List<C> CredentialsMatchers.filter(List<C> credentials, CredentialsMatcher matcher) Filters credentials using the supplied matcher.static <C extends Credentials>
Set<C> CredentialsMatchers.filter(Set<C> credentials, CredentialsMatcher matcher) Filters credentials using the supplied matcher.static <C extends Credentials,V>
Map<C, V> CredentialsMatchers.filterKeys(Map<C, V> credentialMap, CredentialsMatcher matcher) Filters a map keyed by credentials using the supplied matcher.static <C extends Credentials,K>
Map<K, C> CredentialsMatchers.filterValues(Map<K, C> credentialMap, CredentialsMatcher matcher) Filters a map based on credential values using the supplied matcher.static <C extends Credentials>
CCredentialsMatchers.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>
CCredentialsMatchers.firstOrNull(Iterable<C> credentials, CredentialsMatcher matcher) Returns the first credential from a collection that matches the supplied matcher ornullif none match.<C extends Credentials>
List<C> CredentialsProvider.getCredentials(Class<C> type, ItemGroup itemGroup, Authentication authentication) Deprecated.<C extends Credentials>
List<C> CredentialsProvider.getCredentials(Class<C> type, ItemGroup itemGroup, Authentication authentication, List<DomainRequirement> domainRequirements) Deprecated.<C extends Credentials>
List<C> CredentialsProvider.getCredentials(Class<C> type, Item item, Authentication authentication) Deprecated.<C extends Credentials>
List<C> CredentialsProvider.getCredentials(Class<C> type, Item item, Authentication authentication, List<DomainRequirement> domainRequirements) Deprecated.<C extends Credentials>
List<C> UserCredentialsProvider.UserCredentialsProperty.getCredentials(Class<C> type) Helper method.<C extends Credentials>
List<C> CredentialsProvider.getCredentialsInItem(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) Returns the credentials provided by this provider which are available to the specifiedAuthenticationfor the specifiedItemand are appropriate for the specifiedDomainRequirements.<C extends Credentials>
List<C> SystemCredentialsProvider.ProviderImpl.getCredentialsInItem(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) Returns the credentials provided by this provider which are available to the specifiedAuthenticationfor the specifiedItemand are appropriate for the specifiedDomainRequirements.<C extends Credentials>
List<C> CredentialsProvider.getCredentialsInItemGroup(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) Returns the credentials provided by this provider which are available to the specifiedAuthenticationfor items in the specifiedItemGroupand are appropriate for the specifieds.invalid reference
.plugins.credentials.domains.DomainRequirement<C extends Credentials>
List<C> SystemCredentialsProvider.ProviderImpl.getCredentialsInItemGroup(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) Returns the credentials provided by this provider which are available to the specifiedAuthenticationfor items in the specifiedItemGroupand are appropriate for the specifieds.invalid reference
.plugins.credentials.domains.DomainRequirement<C extends Credentials>
List<C> UserCredentialsProvider.getCredentialsInItemGroup(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) Returns the credentials provided by this provider which are available to the specifiedAuthenticationfor items in the specifiedItemGroupand are appropriate for the specifieds.invalid reference
.plugins.credentials.domains.DomainRequirementstatic <C extends Credentials>
CredentialsResolver<Credentials, C> CredentialsResolver.getResolver(Class<C> clazz) Retrieves theCredentialsResolverfor the specified type (if it exists)static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type) static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, Item item) Deprecated.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, ItemGroup itemGroup) Deprecated.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, ItemGroup itemGroup, Authentication authentication) Deprecated.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, ItemGroup itemGroup, Authentication authentication, DomainRequirement... domainRequirements) static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, ItemGroup itemGroup, Authentication authentication, List<DomainRequirement> domainRequirements) Deprecated.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, Item item, Authentication authentication) Deprecated.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, Item item, Authentication authentication, DomainRequirement... domainRequirements) static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, Item item, Authentication authentication, List<DomainRequirement> domainRequirements) static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentials(Class<C> type, Authentication authentication) static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentialsInItem(Class<C> type, Item item, org.springframework.security.core.Authentication authentication) Returns all credentials which are available to the specifiedAuthenticationfor use by the specifiedItem.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentialsInItem(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) Returns all credentials which are available to the specifiedAuthenticationfor use by the specifiedItem.static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentialsInItemGroup(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication) static <C extends Credentials>
List<C> CredentialsProvider.lookupCredentialsInItemGroup(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) static <C extends Credentials>
CCredentialsProvider.snapshot(C credential) Make a best effort to ensure that the supplied credential is a snapshot credential (i.e.static <C extends Credentials>
CMake a best effort to ensure that the supplied credential is a snapshot credential (i.e.static <C extends Credentials>
CTrack the usage of credentials in a specific item but not associated with a specific build, for example SCM polling.static <C extends Credentials>
CTrack the usage of credentials in a specific node.static <C extends Credentials>
CTrack the usage of credentials in a specific build.static <C extends Credentials>
List<C> Track the usage of credentials in a specific item but not associated with a specific build, for example SCM polling.static <C extends Credentials>
List<C> Track the usage of credentials in a specific item but not associated with a specific build, for example SCM polling.static <C extends Credentials>
List<C> Track the usage of credentials in a specific node.static <C extends Credentials>
List<C> Track the usage of credentials in a specific node.static <C extends Credentials>
List<C> Track the usage of credentials in a specific build.static <C extends Credentials>
List<C> Track the usage of credentials in a specific build.Methods in com.cloudbees.plugins.credentials that return CredentialsModifier and TypeMethodDescriptiondefault CredentialsOptionally produce a special value when used in the context of a particular build.CredentialsStoreAction.CredentialsWrapper.getCredentials()Exposes the backingCredentials.Methods in com.cloudbees.plugins.credentials that return types with arguments of type CredentialsModifier and TypeMethodDescriptionCredentialsProvider.allCredentialsDescriptors()Returns all the registeredCredentialsdescriptors.CredentialsStoreAction.CredentialsWrapper.DescriptorImpl.getCredentialDescriptors()ExposesCredentialsProvider.allCredentialsDescriptors()to JellyUserCredentialsProvider.UserCredentialsProperty.DescriptorImpl.getCredentialDescriptors()Gets all the credentials descriptors.abstract List<Credentials> CredentialsStore.getCredentials(Domain domain) Returns an unmodifiable list of credentials for the specified domain.SystemCredentialsProvider.getCredentials()Get all the (Domain.global()) credentials.SystemCredentialsProvider.StoreImpl.getCredentials(Domain domain) Returns an unmodifiable list of credentials for the specified domain.UserCredentialsProvider.StoreImpl.getCredentials(Domain domain) Returns an unmodifiable list of credentials for the specified domain.UserCredentialsProvider.UserCredentialsProperty.getCredentials()Gets all the user's credentials.SystemCredentialsProvider.getDomainCredentialsMap()Get all the credentials.UserCredentialsProvider.UserCredentialsProperty.getDomainCredentialsMap()The map of domain credentials.static <C extends Credentials>
CredentialsResolver<Credentials, C> CredentialsResolver.getResolver(Class<C> clazz) Retrieves theCredentialsResolverfor the specified type (if it exists)Methods in com.cloudbees.plugins.credentials with parameters of type CredentialsModifier and TypeMethodDescriptionabstract booleanCredentialsStore.addCredentials(Domain domain, Credentials credentials) booleanSystemCredentialsProvider.StoreImpl.addCredentials(Domain domain, Credentials credentials) booleanUserCredentialsProvider.StoreImpl.addCredentials(Domain domain, Credentials credentials) final booleanCredentialsStore.addDomain(Domain domain, Credentials... credentials) Adds a newDomainwith seed credentials.intCredentialsNameComparator.compare(Credentials c1, Credentials c2) static voidCredentialsUseListener.fireUse(Credentials c, Item item) Fires theCredentialsUseListener.onUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the item that uses credentials.static voidCredentialsUseListener.fireUse(Credentials c, Node node) Fires theCredentialsUseListener.onUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the node that uses credentials.static voidCredentialsUseListener.fireUse(Credentials c, Run run) Fires theCredentialsUseListener.onUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the run that uses credentials.static FingerprintCredentialsProvider.getFingerprintOf(Credentials c) Retrieves theFingerprintfor a specific credential.static FingerprintCredentialsProvider.getOrCreateFingerprintOf(Credentials c) Creates a fingerprint that can be used to track the usage of a specific credential.booleanCredentialsMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.static StringCredentialsNameProvider.name(Credentials credentials) Name the credential.voidCredentialsUseListener.onUse(Credentials c, Item item) Called whenCredentialsis read by an item.voidCredentialsUseListener.onUse(Credentials c, Node node) Called whenCredentialsis read by a node.voidCredentialsUseListener.onUse(Credentials c, Run run) Called whenCredentialsis read by a run.abstract booleanCredentialsStore.removeCredentials(Domain domain, Credentials credentials) booleanSystemCredentialsProvider.StoreImpl.removeCredentials(Domain domain, Credentials credentials) booleanUserCredentialsProvider.StoreImpl.removeCredentials(Domain domain, Credentials credentials) static <C extends Credentials>
List<C> Track the usage of credentials in a specific item but not associated with a specific build, for example SCM polling.static <C extends Credentials>
List<C> Track the usage of credentials in a specific node.static <C extends Credentials>
List<C> Track the usage of credentials in a specific build.abstract booleanCredentialsStore.updateCredentials(Domain domain, Credentials current, Credentials replacement) Updates the specifiedCredentialsfrom the specifiedDomainfor thisCredentialsStorewith the supplied replacement.booleanSystemCredentialsProvider.StoreImpl.updateCredentials(Domain domain, Credentials current, Credentials replacement) Updates the specifiedCredentialsfrom the specifiedDomainfor thisCredentialsStorewith the supplied replacement.booleanUserCredentialsProvider.StoreImpl.updateCredentials(Domain domain, Credentials current, Credentials replacement) Updates the specifiedCredentialsfrom the specifiedDomainfor thisCredentialsStorewith the supplied replacement.Method parameters in com.cloudbees.plugins.credentials with type arguments of type CredentialsModifier and TypeMethodDescriptionbooleanCredentialsStore.addDomain(Domain domain, List<Credentials> credentials) Adds a newDomainwith seed credentials.booleanSystemCredentialsProvider.StoreImpl.addDomain(Domain domain, List<Credentials> credentials) Adds a newDomainwith seed credentials.booleanUserCredentialsProvider.StoreImpl.addDomain(Domain domain, List<Credentials> credentials) Adds a newDomainwith seed credentials.final booleanCredentialsProvider.isApplicable(Class<? extends Credentials> clazz) Returnstrueif thisCredentialsProvidercan provide credentials of the supplied type.voidSystemCredentialsProvider.setDomainCredentialsMap(Map<Domain, List<Credentials>> domainCredentialsMap) Set all the credentials.voidUserCredentialsProvider.UserCredentialsProperty.setDomainCredentialsMap(Map<Domain, List<Credentials>> domainCredentialsMap) Sets the map of domain credentials.Constructors in com.cloudbees.plugins.credentials with parameters of type CredentialsModifierConstructorDescriptionCredentialsWrapper(CredentialsStoreAction.DomainWrapper domain, Credentials credentials, String id) Constructor.TableEntry(CredentialsProvider provider, CredentialsStore store, Domain domain, Credentials credentials, boolean masked) Constructor.Constructor parameters in com.cloudbees.plugins.credentials with type arguments of type CredentialsModifierConstructorDescriptionprotectedCredentialsDescriptor(Class<? extends Credentials> clazz) Constructor.UserCredentialsProperty(List<Credentials> credentials) Deprecated. -
Uses of Credentials in com.cloudbees.plugins.credentials.cli
Methods in com.cloudbees.plugins.credentials.cli that return CredentialsModifier and TypeMethodDescriptionprotected static CredentialsBaseCredentialsCLICommand.getCredentialsById(CredentialsStore store, Domain domain, String id) -
Uses of Credentials in com.cloudbees.plugins.credentials.common
Subinterfaces of Credentials in com.cloudbees.plugins.credentials.commonModifier and TypeInterfaceDescriptioninterfaceClient Credentials stored in a KeyStore.interfaceCredentials that have an unique ID that assists in retrieving the specific credential from a collection ofCredentials.interfaceCredentials that have a password component.interfaceCredentials that have an ID, description, keystore and password, for example client certificates for SSL.interfaceCredentials that have a description to help the user differentiate the specific credential from a collection ofCredentialsand an ID to helpJenkinslocate the specific credential from a collection ofCredentials.interfaceCredentials that have an ID, description and username.interfaceThe credential interface that standard username password based credentials should aim to implement.interfaceCredentials that have a username.interfaceCredentials that have both a username and a password component. -
Uses of Credentials in com.cloudbees.plugins.credentials.domains
Subinterfaces of Credentials in com.cloudbees.plugins.credentials.domainsModifier and TypeInterfaceDescriptioninterfaceCredentials that have a built in restrictionMethods in com.cloudbees.plugins.credentials.domains with type parameters of type CredentialsModifier and TypeMethodDescriptionstatic <C extends Credentials>
List<C> 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.Methods in com.cloudbees.plugins.credentials.domains that return types with arguments of type CredentialsModifier and TypeMethodDescriptionstatic Map<Domain, List<Credentials>> DomainCredentials.asMap(Collection<DomainCredentials> collection) Converts aCollectionofDomainCredentialsinto aMapkeyed byDomainwithListofCredentialsas values.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 aMapkeyed byDomainwithListofCredentialsas values into aListofDomainCredentialsinto aMethod parameters in com.cloudbees.plugins.credentials.domains with type arguments of type CredentialsModifier and TypeMethodDescriptionstatic List<DomainCredentials> DomainCredentials.asList(Map<Domain, List<Credentials>> map) Converts aMapkeyed byDomainwithListofCredentialsas values into aListofDomainCredentialsinto astatic <C extends Credentials>
List<C> 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 aMapkeyed byDomainwithListofCredentialsas values into aListofDomainCredentialsinto aConstructor parameters in com.cloudbees.plugins.credentials.domains with type arguments of type CredentialsModifierConstructorDescriptionDomainCredentials(Domain domain, List<Credentials> credentials) Stapler's constructor. -
Uses of Credentials in com.cloudbees.plugins.credentials.impl
Classes in com.cloudbees.plugins.credentials.impl that implement CredentialsModifier and TypeClassDescriptionclassBase class forStandardCredentials.classclassConcrete implementation ofStandardUsernamePasswordCredentials. -
Uses of Credentials in com.cloudbees.plugins.credentials.matchers
Methods in com.cloudbees.plugins.credentials.matchers with parameters of type CredentialsModifier and TypeMethodDescriptionbooleanAllOfMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanAnyOfMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanConstantMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanIdMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanInstanceOfMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanNotMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanScopeMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.booleanUsernameMatcher.matches(Credentials item) Evaluates the matcher for the specified credentials.
CredentialsProvider.getCredentialsInItemGroup(Class, ItemGroup, Authentication, List)instead.