|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.x509.StaticPKIXValidationInformationResolver
public class StaticPKIXValidationInformationResolver
An implementation of PKIXValidationInformationResolver
which always returns a static, fixed set of
information.
Constructor Summary | |
---|---|
StaticPKIXValidationInformationResolver(List<PKIXValidationInformation> info,
Set<String> names)
Constructor. |
Method Summary | |
---|---|
Iterable<PKIXValidationInformation> |
resolve(CriteriaSet criteria)
Process the specified criteria and return the resulting instances the the product type which satisfy the criteria. |
PKIXValidationInformation |
resolveSingle(CriteriaSet criteria)
Process the specified criteria and return a single instance of the product type which satisfies the criteria. |
Set<String> |
resolveTrustedNames(CriteriaSet criteriaSet)
Resolve a set of trusted names associated with the entity indicated by the criteria. |
boolean |
supportsTrustedNameResolution()
Check whether resolution of trusted names is supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticPKIXValidationInformationResolver(List<PKIXValidationInformation> info, Set<String> names)
info
- list of PKIX validation information to returnnames
- set of trusted names to returnMethod Detail |
---|
public Set<String> resolveTrustedNames(CriteriaSet criteriaSet) throws SecurityException, UnsupportedOperationException
resolveTrustedNames
in interface PKIXValidationInformationResolver
criteriaSet
- set of criteria used to determine or resolve the trusted names
SecurityException
- thrown if there is an error resolving the trusted names
UnsupportedOperationException
- thrown if this optional method is not supported by the implementationpublic boolean supportsTrustedNameResolution()
supportsTrustedNameResolution
in interface PKIXValidationInformationResolver
public Iterable<PKIXValidationInformation> resolve(CriteriaSet criteria) throws SecurityException
resolve
in interface Resolver<PKIXValidationInformation,CriteriaSet>
criteria
- the criteria to evaluate or process
SecurityException
- thrown if there is an error processing the specified criteriapublic PKIXValidationInformation resolveSingle(CriteriaSet criteria) throws SecurityException
resolveSingle
in interface Resolver<PKIXValidationInformation,CriteriaSet>
criteria
- the criteria to evaluate or process
SecurityException
- thrown if there is an error processing the specified criteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |