Class SigningCredentialsResolver
java.lang.Object
net.shibboleth.idp.relyingparty.impl.SigningCredentialsResolver
- All Implemented Interfaces:
Component,IdentifiableComponent,IdentifiedComponent,Resolver<Credential,,CriteriaSet> CredentialResolver
public class SigningCredentialsResolver
extends Object
implements CredentialResolver, IdentifiableComponent
Credential resolver whose purpose is to resolve configured IdP signing credentials.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringComponent ID.private org.slf4j.LoggerLogger.The reloading resolver which is the source of the credentials. -
Constructor Summary
ConstructorsConstructorDescriptionSigningCredentialsResolver(ReloadableSpringService<RelyingPartyConfigurationResolver> resolverService) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetId()resolve(CriteriaSet criteria) resolveSingle(CriteriaSet criteriaSet) void
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger. -
service
The reloading resolver which is the source of the credentials. -
id
Component ID.
-
-
Constructor Details
-
SigningCredentialsResolver
public SigningCredentialsResolver(@Nonnull ReloadableSpringService<RelyingPartyConfigurationResolver> resolverService) Constructor.- Parameters:
resolverService- the Spring service exposing the relying party configuration service
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiedComponent
-
setId
- Specified by:
setIdin interfaceIdentifiableComponent
-
resolveSingle
@Nullable public Credential resolveSingle(@Nullable CriteriaSet criteriaSet) throws ResolverException - Specified by:
resolveSinglein interfaceResolver<Credential,CriteriaSet> - Throws:
ResolverException
-
resolve
@Nonnull public Iterable<Credential> resolve(@Nullable CriteriaSet criteria) throws ResolverException - Specified by:
resolvein interfaceResolver<Credential,CriteriaSet> - Throws:
ResolverException
-