public abstract class CredentialsProviderTypeRestrictionDescriptor extends Descriptor<CredentialsProviderTypeRestriction>
Descriptor
base class for CredentialsProviderTypeRestriction
implementations.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
CredentialsProviderTypeRestrictionDescriptor() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
filter(List<CredentialsProviderTypeRestriction> restrictions,
CredentialsProvider provider,
CredentialsDescriptor type)
Computes the effective
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor) result from the
sublist of all CredentialsProviderTypeRestriction instances that use this
instance . |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public CredentialsProviderTypeRestrictionDescriptor()
public abstract boolean filter(List<CredentialsProviderTypeRestriction> restrictions, CredentialsProvider provider, CredentialsDescriptor type)
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor)
result from the
sublist of all CredentialsProviderTypeRestriction
instances that use this
instance
. Each implementation can determine the policy to
follow, typically implementations will from two styles:
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor)
returning
true
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor)
returning
false
restrictions
- the sublist of CredentialsProviderManager.getRestrictions()
that return this
from CredentialsProviderTypeRestriction.getDescriptor()
provider
- the CredentialsProvider
to check.type
- the CredentialsDescriptor
to check.true
if and only if the supplied CredentialsDescriptor
is permitted in the scope of
the supplied CredentialsProvider
Copyright © 2016–2021. All rights reserved.