| Package | Description |
|---|---|
| com.cloudbees.plugins.credentials | |
| com.cloudbees.plugins.credentials.common | |
| com.cloudbees.plugins.credentials.domains |
| 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 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.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. |
<C extends IdCredentials> |
CredentialsParameterValue.lookupCredentials(Class<C> type,
hudson.model.Run run,
DomainRequirement... domainRequirements) |
| Modifier and Type | Method and Description |
|---|---|
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. |
<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,
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 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. |
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,
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. |
<C extends IdCredentials> |
CredentialsParameterValue.lookupCredentials(Class<C> type,
hudson.model.Run run,
List<DomainRequirement> domainRequirements) |
| Modifier and Type | Method and Description |
|---|---|
AbstractIdCredentialsListBoxModel<T,C> |
AbstractIdCredentialsListBoxModel.include(hudson.model.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<T,C> |
AbstractIdCredentialsListBoxModel.include(hudson.model.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<T,C> |
AbstractIdCredentialsListBoxModel.includeAs(org.acegisecurity.Authentication authentication,
hudson.model.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<T,C> |
AbstractIdCredentialsListBoxModel.includeAs(org.acegisecurity.Authentication authentication,
hudson.model.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<T,C> |
AbstractIdCredentialsListBoxModel.includeMatching(hudson.model.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<T,C> |
AbstractIdCredentialsListBoxModel.includeMatching(hudson.model.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<T,C> |
AbstractIdCredentialsListBoxModel.includeMatchingAs(org.acegisecurity.Authentication authentication,
hudson.model.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.
|
AbstractIdCredentialsListBoxModel<T,C> |
AbstractIdCredentialsListBoxModel.includeMatchingAs(org.acegisecurity.Authentication authentication,
hudson.model.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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HostnamePortRequirement
A requirement for a
Domain that includes Credentials for a
specific hostname and port combination. |
class |
HostnameRequirement
A requirement for a
Domain that includes Credentials for a
specific hostname. |
class |
PathRequirement
A requirement for a specific URI path, for example
/ or /foo/bar/manchu |
class |
SchemeRequirement
A requirement for a specific URI scheme, for example
http or smtp |
| Modifier and Type | Method and Description |
|---|---|
List<DomainRequirement> |
URIRequirementBuilder.build()
Builds the list of requirements.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Domain.test(DomainRequirement... requirements)
|
DomainSpecification.Result |
SchemeSpecification.test(DomainRequirement requirement)
Tests the scope against this specification.
|
DomainSpecification.Result |
PathSpecification.test(DomainRequirement requirement)
Tests the scope against this specification.
|
DomainSpecification.Result |
HostnameSpecification.test(DomainRequirement requirement)
Tests the scope against this specification.
|
DomainSpecification.Result |
HostnamePortSpecification.test(DomainRequirement requirement)
Tests the scope against this specification.
|
abstract DomainSpecification.Result |
DomainSpecification.test(DomainRequirement scope)
Tests the scope against this specification.
|
| 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.
|
boolean |
DomainRestrictedCredentials.matches(List<DomainRequirement> domainRequirements)
Determine whether these
Credentials are applicable for
the given requirements. |
boolean |
Domain.test(List<DomainRequirement> requirements)
|
Copyright © 2016–2017. All rights reserved.