Package org.projecthusky.xua.validation
Class NoopKeyInfoCredentialResolver
java.lang.Object
org.projecthusky.xua.validation.NoopKeyInfoCredentialResolver
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,
,net.shibboleth.utilities.java.support.resolver.CriteriaSet> org.opensaml.security.credential.CredentialResolver
,org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver
@ThreadSafe
public class NoopKeyInfoCredentialResolver
extends Object
implements org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver
A no-operation
KeyInfoCredentialResolver
.- Author:
- Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull Iterable<org.opensaml.security.credential.Credential>
resolve
(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) Process the specified criteria and return the resulting instances of the product type which satisfy the criteria.@Nullable org.opensaml.security.credential.Credential
resolveSingle
(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) Process the specified criteria and return a single instance of the product type which satisfies the criteria.
-
Constructor Details
-
NoopKeyInfoCredentialResolver
public NoopKeyInfoCredentialResolver()
-
-
Method Details
-
resolve
public @NonNull Iterable<org.opensaml.security.credential.Credential> resolve(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) Process the specified criteria and return the resulting instances of the product type which satisfy the criteria.- Specified by:
resolve
in interfacenet.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,
net.shibboleth.utilities.java.support.resolver.CriteriaSet> - Parameters:
criteria
- the criteria to evaluate or process.- Returns:
- instances which satisfy the criteria.
-
resolveSingle
public @Nullable org.opensaml.security.credential.Credential resolveSingle(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria) Process the specified criteria and return a single instance of the product type which satisfies the criteria.If multiple items satisfy the criteria, the choice of which single item to return is implementation-dependent.
- Specified by:
resolveSingle
in interfacenet.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,
net.shibboleth.utilities.java.support.resolver.CriteriaSet> - Parameters:
criteria
- the criteria to evaluate or process.- Returns:
- a single instance satisfying the criteria, or null.
-