Uses of Class
com.cloudbees.plugins.credentials.domains.DomainRequirement
Package
Description
-
Uses of DomainRequirement in com.cloudbees.plugins.credentials
Modifier and TypeMethodDescriptionstatic <C extends IdCredentials>
CCredentialsProvider.findCredentialById
(String id, Class<C> type, Run<?, ?> run, DomainRequirement... domainRequirements) Deprecated.<C extends IdCredentials>
CCredentialsParameterValue.lookupCredentials
(Class<C> type, Run run, DomainRequirement... domainRequirements) 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, Item item, Authentication authentication, DomainRequirement... domainRequirements) Modifier and TypeMethodDescriptionstatic <C extends IdCredentials>
CCredentialsProvider.findCredentialById
(String id, Class<C> type, 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>
ListBoxModelCredentialsProvider.getCredentialIds
(Class<C> type, ItemGroup itemGroup, Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) <C extends IdCredentials>
ListBoxModelCredentialsProvider.getCredentialIds
(Class<C> type, Item item, Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Deprecated.<C extends IdCredentials>
ListBoxModelCredentialsProvider.getCredentialIdsInItem
(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Returns aListBoxModel
of the credentials provided by this provider which are available to the specifiedAuthentication
for the specifiedItem
and are appropriate for the specifiedDomainRequirement
s.<C extends IdCredentials>
ListBoxModelCredentialsProvider.getCredentialIdsInItemGroup
(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Returns aListBoxModel
of the credentials provided by this provider which are available to the specifiedAuthentication
for items in the specifiedItemGroup
and are appropriate for the specifiedDomainRequirement
s.<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, List<DomainRequirement> domainRequirements) Deprecated.<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 specifiedAuthentication
for the specifiedItem
and are appropriate for the specifiedDomainRequirement
s.<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 specifiedAuthentication
for the specifiedItem
and are appropriate for the specifiedDomainRequirement
s.<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 specifiedAuthentication
for items in the specifiedItemGroup
and are appropriate for the specified.plugins.credentials.domains.DomainRequirement
s.<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 specifiedAuthentication
for items in the specifiedItemGroup
and are appropriate for the specified.plugins.credentials.domains.DomainRequirement
s.<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 specifiedAuthentication
for items in the specifiedItemGroup
and are appropriate for the specified.plugins.credentials.domains.DomainRequirement
s.static <C extends IdCredentials>
ListBoxModelCredentialsProvider.listCredentials
(Class<C> type, ItemGroup itemGroup, Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) static <C extends IdCredentials>
ListBoxModelCredentialsProvider.listCredentials
(Class<C> type, Item item, Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Deprecated.static <C extends IdCredentials>
ListBoxModelCredentialsProvider.listCredentialsInItem
(Class<C> type, Item item, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Returns aListBoxModel
of all credentials which are available to the specifiedAuthentication
for use by the specifiedItem
.static <C extends IdCredentials>
ListBoxModelCredentialsProvider.listCredentialsInItemGroup
(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Returns aListBoxModel
of all credentials which are available to the specifiedAuthentication
for use by theItem
s in the specifiedItemGroup
.<C extends IdCredentials>
CCredentialsParameterValue.lookupCredentials
(Class<C> type, Run run, List<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, List<DomainRequirement> domainRequirements) 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 specifiedAuthentication
for use by the specifiedItem
.static <C extends Credentials>
List<C>CredentialsProvider.lookupCredentialsInItemGroup
(Class<C> type, ItemGroup itemGroup, org.springframework.security.core.Authentication authentication, List<DomainRequirement> domainRequirements) -
Uses of DomainRequirement in com.cloudbees.plugins.credentials.common
Modifier and TypeMethodDescriptionAbstractIdCredentialsListBoxModel.include
(ItemGroup context, Class<? extends C> type, List<DomainRequirement> domainRequirements) Adds the ids of the specified credential type that are available to the specified context as the current authentication with the specified domain requirements.AbstractIdCredentialsListBoxModel.include
(Item context, Class<? extends C> type, List<DomainRequirement> domainRequirements) Adds the ids of the specified credential type that are available to the specified context as the current authentication with the specified domain requirements.AbstractIdCredentialsListBoxModel.includeAs
(Authentication authentication, ItemGroup context, Class<? extends C> type, List<DomainRequirement> domainRequirements) Deprecated.AbstractIdCredentialsListBoxModel.includeAs
(Authentication authentication, Item context, Class<? extends C> type, List<DomainRequirement> domainRequirements) Deprecated.AbstractIdCredentialsListBoxModel.includeAs
(org.springframework.security.core.Authentication authentication, ItemGroup context, Class<? extends C> type, List<DomainRequirement> domainRequirements) Adds the ids of the specified credential type that are available to the specified context as the specified authentication with the specified domain requirements.AbstractIdCredentialsListBoxModel.includeAs
(org.springframework.security.core.Authentication authentication, Item context, Class<? extends C> type, List<DomainRequirement> domainRequirements) Adds the ids of the specified credential type that are available to the specified context as the specified authentication with the specified domain requirements.AbstractIdCredentialsListBoxModel.includeMatching
(ItemGroup context, Class<? extends C> type, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Adds the ids of the specified credential type that are available to the specified context as the current authentication with the specified domain requirements and match the specified filter.AbstractIdCredentialsListBoxModel.includeMatching
(Item context, Class<? extends C> type, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Adds the ids of the specified credential type that are available to the specified context as the current authentication with the specified domain requirements and match the specified filter.AbstractIdCredentialsListBoxModel.includeMatchingAs
(Authentication authentication, ItemGroup context, Class<? extends C> type, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) AbstractIdCredentialsListBoxModel.includeMatchingAs
(Authentication authentication, Item context, Class<? extends C> type, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) AbstractIdCredentialsListBoxModel.includeMatchingAs
(org.springframework.security.core.Authentication authentication, ItemGroup context, Class<? extends C> type, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Adds the ids of the specified credential type that are available to the specified context as the specified authentication with the specified domain requirements and match the specified filter.AbstractIdCredentialsListBoxModel.includeMatchingAs
(org.springframework.security.core.Authentication authentication, Item context, Class<? extends C> type, List<DomainRequirement> domainRequirements, CredentialsMatcher matcher) Adds the ids of the specified credential type that are available to the specified context as the specified authentication with the specified domain requirements and match the specified filter. -
Uses of DomainRequirement in com.cloudbees.plugins.credentials.domains
Modifier and TypeClassDescriptionclass
A requirement for aDomain
that includesCredentials
for a specific hostname and port combination.class
A requirement for aDomain
that includesCredentials
for a specific hostname.class
A requirement for a specific URI path, for example/
or/foo/bar/manchu
class
A requirement for a specific URI scheme, for examplehttp
orsmtp
Modifier and TypeMethodDescriptionboolean
Domain.test
(DomainRequirement... requirements) abstract DomainSpecification.Result
DomainSpecification.test
(DomainRequirement scope) Tests the scope against this specification.HostnamePortSpecification.test
(DomainRequirement requirement) Tests the scope against this specification.HostnameSpecification.test
(DomainRequirement requirement) Tests the scope against this specification.PathSpecification.test
(DomainRequirement requirement) Tests the scope against this specification.SchemeSpecification.test
(DomainRequirement requirement) Tests the scope against this specification.Modifier 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.boolean
DomainRestrictedCredentials.matches
(List<DomainRequirement> domainRequirements) Determine whether theseCredentials
are applicable for the given requirements.boolean
Domain.test
(List<DomainRequirement> requirements)
CredentialsProvider.findCredentialById(String, Class, Run, List)
instead.