public abstract class CredentialsProviderFilter extends hudson.model.AbstractDescribableImpl<CredentialsProviderFilter> implements Serializable, hudson.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 blacklist policy, "if you are not on the list you can come in".
|
static class |
CredentialsProviderFilter.Includes
A filter that implements a whitelist policy, "if you are not on the list you can't come in".
|
static class |
CredentialsProviderFilter.None
A filter that does not filter anything.
|
| 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 hudson.model.Describable<CredentialsProviderFilter>getDescriptor in class hudson.model.AbstractDescribableImpl<CredentialsProviderFilter>Copyright © 2016–2017. All rights reserved.