Package | Description |
---|---|
com.cloudbees.plugins.credentials | |
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 Item s 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 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 items in the specified Item and are appropriate for the specified .credentials.domains.DomainRequirement s. |
<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 items in the specified Item and are appropriate for the specified .credentials.domains.DomainRequirement s. |
<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.DomainRequirement s. |
<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.DomainRequirement s. |
<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.DomainRequirement s. |
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 Item s in the specified ItemGroup . |
<C extends IdCredentials> |
CredentialsParameterValue.lookupCredentials(Class<C> type,
hudson.model.Run run,
List<DomainRequirement> domainRequirements) |
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 |
HostnamePortSpecification.test(DomainRequirement requirement)
Tests the scope against this specification.
|
DomainSpecification.Result |
HostnameSpecification.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 © 2015. All rights reserved.