Class FolderCredentialsProvider
java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.CredentialsProvider>
com.cloudbees.plugins.credentials.CredentialsProvider
com.cloudbees.hudson.plugins.folder.properties.FolderCredentialsProvider
- All Implemented Interfaces:
ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.CredentialsProvider>
,Saveable
,Loadable
,OnMaster
,IconSpec
@Extension(optional=true)
public class FolderCredentialsProvider
extends com.cloudbees.plugins.credentials.CredentialsProvider
A store of credentials that can be used as a Stapler object.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our property.Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class com.cloudbees.plugins.credentials.CredentialsProvider
CREATE, DELETE, GROUP, MANAGE_DOMAINS, NONE, UPDATE, USE_ITEM, USE_OWN, VIEW
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<C extends com.cloudbees.plugins.credentials.common.IdCredentials>
ListBoxModelgetCredentialIdsInItem
(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements, com.cloudbees.plugins.credentials.CredentialsMatcher matcher) <C extends com.cloudbees.plugins.credentials.common.IdCredentials>
ListBoxModelgetCredentialIdsInItemGroup
(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements, com.cloudbees.plugins.credentials.CredentialsMatcher matcher) <C extends com.cloudbees.plugins.credentials.Credentials>
List<C>getCredentialsInItem
(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements) <C extends com.cloudbees.plugins.credentials.Credentials>
List<C>getCredentialsInItemGroup
(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements) Set<com.cloudbees.plugins.credentials.CredentialsScope>
getScopes
(ModelObject object) com.cloudbees.plugins.credentials.CredentialsStore
getStore
(ModelObject object) Methods inherited from class com.cloudbees.plugins.credentials.CredentialsProvider
_isApplicable, all, allCredentialsDescriptors, enabled, enabled, findCredentialById, findCredentialById, findCredentialById, getCredentialIds, getCredentialIds, getCredentials, getCredentials, getCredentials, getCredentials, getCredentialsDescriptors, getDescriptor, getDisplayName, getFingerprintOf, getOrCreateFingerprintOf, hasCredentialsDescriptors, hasStores, isApplicable, isApplicable, isEnabled, isEnabled, listCredentials, listCredentials, listCredentialsInItem, listCredentialsInItemGroup, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentials, lookupCredentialsInItem, lookupCredentialsInItem, lookupCredentialsInItemGroup, lookupCredentialsInItemGroup, lookupScopes, lookupStores, saveAll, snapshot, snapshot, track, track, track, trackAll, trackAll, trackAll, trackAll, trackAll, trackAll
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
FolderCredentialsProvider
public FolderCredentialsProvider()
-
-
Method Details
-
getScopes
- Overrides:
getScopes
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-
getCredentialsInItemGroup
@NonNull public <C extends com.cloudbees.plugins.credentials.Credentials> List<C> getCredentialsInItemGroup(@NonNull Class<C> type, @Nullable ItemGroup itemGroup, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements) - Overrides:
getCredentialsInItemGroup
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-
getCredentialsInItem
@NonNull public <C extends com.cloudbees.plugins.credentials.Credentials> List<C> getCredentialsInItem(@NonNull Class<C> type, @NonNull Item item, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements) - Overrides:
getCredentialsInItem
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-
getCredentialIdsInItemGroup
@NonNull public <C extends com.cloudbees.plugins.credentials.common.IdCredentials> ListBoxModel getCredentialIdsInItemGroup(@NonNull Class<C> type, @Nullable ItemGroup itemGroup, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements, @NonNull com.cloudbees.plugins.credentials.CredentialsMatcher matcher) - Overrides:
getCredentialIdsInItemGroup
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-
getCredentialIdsInItem
@NonNull public <C extends com.cloudbees.plugins.credentials.common.IdCredentials> ListBoxModel getCredentialIdsInItem(@NonNull Class<C> type, @NonNull Item item, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements, @NonNull com.cloudbees.plugins.credentials.CredentialsMatcher matcher) - Overrides:
getCredentialIdsInItem
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-
getStore
public com.cloudbees.plugins.credentials.CredentialsStore getStore(@CheckForNull ModelObject object) - Overrides:
getStore
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classcom.cloudbees.plugins.credentials.CredentialsProvider
-