| Package | Description |
|---|---|
| com.cloudbees.plugins.credentials | |
| com.cloudbees.plugins.credentials.cli | |
| com.cloudbees.plugins.credentials.domains |
| Modifier and Type | Method and Description |
|---|---|
Domain |
ViewCredentialsAction.TableEntry.getDomain()
Exposes the
Domain. |
Domain |
CredentialsStoreAction.DomainWrapper.getDomain()
Expose the backing
Domain. |
Domain |
CredentialsStore.getDomainByName(String name)
Retrieves the domain with the matching name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Domain,List<Credentials>> |
UserCredentialsProvider.UserCredentialsProperty.getDomainCredentialsMap()
The map of domain credentials.
|
Map<Domain,List<Credentials>> |
SystemCredentialsProvider.getDomainCredentialsMap()
Get all the credentials.
|
List<Domain> |
UserCredentialsProvider.StoreImpl.getDomains()
Returns all the
Domains that this credential provider has. |
List<Domain> |
SystemCredentialsProvider.StoreImpl.getDomains()
Returns all the
Domains that this credential provider has. |
List<Domain> |
CredentialsStore.getDomains()
Returns all the
Domains that this credential provider has. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UserCredentialsProvider.StoreImpl.addCredentials(Domain domain,
Credentials credentials)
|
boolean |
SystemCredentialsProvider.StoreImpl.addCredentials(Domain domain,
Credentials credentials)
|
abstract boolean |
CredentialsStore.addCredentials(Domain domain,
Credentials credentials)
|
boolean |
CredentialsStore.addDomain(Domain domain,
Credentials... credentials)
Adds a new
Domain with seed credentials. |
boolean |
UserCredentialsProvider.StoreImpl.addDomain(Domain domain,
List<Credentials> credentials)
Adds a new
Domain with seed credentials. |
boolean |
SystemCredentialsProvider.StoreImpl.addDomain(Domain domain,
List<Credentials> credentials)
Adds a new
Domain with seed credentials. |
boolean |
CredentialsStore.addDomain(Domain domain,
List<Credentials> credentials)
Adds a new
Domain with seed credentials. |
List<Credentials> |
UserCredentialsProvider.StoreImpl.getCredentials(Domain domain)
Returns an unmodifiable list of credentials for the specified domain.
|
List<Credentials> |
SystemCredentialsProvider.StoreImpl.getCredentials(Domain domain)
Returns an unmodifiable list of credentials for the specified domain.
|
abstract List<Credentials> |
CredentialsStore.getCredentials(Domain domain)
Returns an unmodifiable list of credentials for the specified domain.
|
String |
CredentialsStore.getRelativeLinkTo(Domain domain)
Computes the relative path from the current page to the specified domain.
|
boolean |
UserCredentialsProvider.StoreImpl.removeCredentials(Domain domain,
Credentials credentials)
|
boolean |
SystemCredentialsProvider.StoreImpl.removeCredentials(Domain domain,
Credentials credentials)
|
abstract boolean |
CredentialsStore.removeCredentials(Domain domain,
Credentials credentials)
|
boolean |
UserCredentialsProvider.StoreImpl.removeDomain(Domain domain)
Removes an existing
Domain and all associated Credentials. |
boolean |
SystemCredentialsProvider.StoreImpl.removeDomain(Domain domain)
Removes an existing
Domain and all associated Credentials. |
boolean |
CredentialsStore.removeDomain(Domain domain)
Removes an existing
Domain and all associated Credentials. |
boolean |
UserCredentialsProvider.StoreImpl.updateCredentials(Domain domain,
Credentials current,
Credentials replacement)
Updates the specified
Credentials from the specified Domain for this CredentialsStore with the supplied replacement. |
boolean |
SystemCredentialsProvider.StoreImpl.updateCredentials(Domain domain,
Credentials current,
Credentials replacement)
Updates the specified
Credentials from the specified Domain for this CredentialsStore with the supplied replacement. |
abstract boolean |
CredentialsStore.updateCredentials(Domain domain,
Credentials current,
Credentials replacement)
Updates the specified
Credentials from the specified Domain for this CredentialsStore with the supplied replacement. |
boolean |
UserCredentialsProvider.StoreImpl.updateDomain(Domain current,
Domain replacement)
Updates an existing
Domain keeping the existing associated Credentials. |
boolean |
SystemCredentialsProvider.StoreImpl.updateDomain(Domain current,
Domain replacement)
Updates an existing
Domain keeping the existing associated Credentials. |
boolean |
CredentialsStore.updateDomain(Domain current,
Domain replacement)
Updates an existing
Domain keeping the existing associated Credentials. |
| Modifier and Type | Method and Description |
|---|---|
void |
UserCredentialsProvider.UserCredentialsProperty.setDomainCredentialsMap(Map<Domain,List<Credentials>> domainCredentialsMap)
Sets the map of domain credentials.
|
void |
SystemCredentialsProvider.setDomainCredentialsMap(Map<Domain,List<Credentials>> domainCredentialsMap)
Set all the credentials.
|
| Constructor and Description |
|---|
DomainWrapper(CredentialsStoreAction parent,
Domain domain)
Our constructor.
|
TableEntry(CredentialsProvider provider,
CredentialsStore store,
Domain domain,
Credentials credentials,
boolean masked)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Domain |
BaseCredentialsCLICommand.getDomainByName(CredentialsStore store,
String domain) |
| Modifier and Type | Method and Description |
|---|---|
protected static Credentials |
BaseCredentialsCLICommand.getCredentialsById(CredentialsStore store,
Domain domain,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Domain |
DomainCredentials.getDomain()
Returns the domain.
|
static Domain |
Domain.global()
Returns the special "global" domain.
|
Domain |
Domain.resolve()
Resolve the correct domain instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<Domain,List<Credentials>> |
DomainCredentials.asMap(Collection<DomainCredentials> collection)
Converts a
Collection of DomainCredentials into a Map keyed by Domain with
List of Credentials as values. |
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 a
Map keyed by Domain with List of Credentials as values into a
List of DomainCredentials into a |
| Modifier and Type | Method and Description |
|---|---|
static List<DomainCredentials> |
DomainCredentials.asList(Map<Domain,List<Credentials>> map)
Converts a
Map keyed by Domain with List of Credentials as values into a
List of DomainCredentials into a |
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.
|
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 a
Map keyed by Domain with List of Credentials as values into a
List of DomainCredentials into a |
| Constructor and Description |
|---|
DomainCredentials(Domain domain,
List<Credentials> credentials)
Stapler's constructor.
|
Copyright © 2016–2018. All rights reserved.