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