public abstract class CredentialsProviderFilter extends AbstractDescribableImpl<CredentialsProviderFilter> implements Serializable, ExtensionPoint
CredentialsProvider instances used by CredentialsProviderManager to determine which
providers are active.| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialsProviderFilter.Excludes
A filter that implements a denylist policy, "if you are not on the list you can come in".
|
static class |
CredentialsProviderFilter.Includes
A filter that implements a allowlist policy, "if you are not on the list you can't come in".
|
static class |
CredentialsProviderFilter.None
A filter that does not filter anything.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
CredentialsProviderFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
abstract boolean |
filter(CredentialsProvider provider)
Returns
true if and only if the supplied CredentialsProvider is permitted to be active. |
CredentialsProviderFilterDescriptor |
getDescriptor() |
abstract int |
hashCode() |
abstract String |
toString() |
public abstract boolean filter(CredentialsProvider provider)
true if and only if the supplied CredentialsProvider is permitted to be active.provider - the CredentialsProvider to check.true if and only if the supplied CredentialsProvider is permitted to be active.public CredentialsProviderFilterDescriptor getDescriptor()
getDescriptor in interface Describable<CredentialsProviderFilter>getDescriptor in class AbstractDescribableImpl<CredentialsProviderFilter>Copyright © 2016–2021. All rights reserved.