public class StaticPKIXValidationInformationResolver extends Object implements PKIXValidationInformationResolver
PKIXValidationInformationResolver which always returns a static, fixed set of
information.| Modifier and Type | Field and Description |
|---|---|
private List<PKIXValidationInformation> |
pkixInfo
The PKIX validation information to return.
|
private boolean |
supportDynamicTrustedNames
Flag indicating whether dynamic trusted names should be extracted from criteria set.
|
private Set<String> |
trustedNames
The set of trusted names to return.
|
| Constructor and Description |
|---|
StaticPKIXValidationInformationResolver(List<PKIXValidationInformation> info,
Set<String> names)
Constructor.
|
StaticPKIXValidationInformationResolver(List<PKIXValidationInformation> info,
Set<String> names,
boolean supportDynamicNames)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<PKIXValidationInformation> |
resolve(CriteriaSet criteria) |
PKIXValidationInformation |
resolveSingle(CriteriaSet criteria) |
Set<String> |
resolveTrustedNames(CriteriaSet criteriaSet) |
boolean |
supportsTrustedNameResolution() |
private final List<PKIXValidationInformation> pkixInfo
private boolean supportDynamicTrustedNames
public StaticPKIXValidationInformationResolver(@Nullable@ParameterName(name="info") List<PKIXValidationInformation> info, @Nullable@ParameterName(name="names") Set<String> names)
Dynamic trusted names will not be supported.
info - list of PKIX validation information to returnnames - set of trusted names to returnpublic StaticPKIXValidationInformationResolver(@Nullable@ParameterName(name="info") List<PKIXValidationInformation> info, @Nullable@ParameterName(name="names") Set<String> names, @ParameterName(name="supportDynamicNames") boolean supportDynamicNames)
info - list of PKIX validation information to returnnames - set of trusted names to returnsupportDynamicNames - whether resolver should support dynamic extraction of trusted names
from an instance of TrustedNamesCriterion in the criteria set@Nonnull public Set<String> resolveTrustedNames(@Nullable CriteriaSet criteriaSet) throws ResolverException
resolveTrustedNames in interface PKIXValidationInformationResolverResolverExceptionpublic boolean supportsTrustedNameResolution()
supportsTrustedNameResolution in interface PKIXValidationInformationResolver@Nonnull public Iterable<PKIXValidationInformation> resolve(@Nullable CriteriaSet criteria) throws ResolverException
resolve in interface Resolver<PKIXValidationInformation,CriteriaSet>ResolverException@Nullable public PKIXValidationInformation resolveSingle(@Nullable CriteriaSet criteria) throws ResolverException
resolveSingle in interface Resolver<PKIXValidationInformation,CriteriaSet>ResolverExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.