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
Fields Modifier and Type Field Description private String
id
Component ID.private org.slf4j.Logger
log
Logger.private ReloadableSpringService<RelyingPartyConfigurationResolver>
service
The reloading resolver which is the source of the credentials. -
Constructor Summary
Constructors Constructor Description SigningCredentialsResolver(ReloadableSpringService<RelyingPartyConfigurationResolver> resolverService)
Constructor. -
Method Summary
Modifier and Type Method Description String
getId()
Iterable<Credential>
resolve(CriteriaSet criteria)
Credential
resolveSingle(CriteriaSet criteriaSet)
void
setId(String componentId)
-
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:
getId
in interfaceIdentifiedComponent
-
setId
- Specified by:
setId
in interfaceIdentifiableComponent
-
resolveSingle
@Nullable public Credential resolveSingle(@Nullable CriteriaSet criteriaSet) throws ResolverException- Specified by:
resolveSingle
in interfaceResolver<Credential,CriteriaSet>
- Throws:
ResolverException
-
resolve
@Nonnull public Iterable<Credential> resolve(@Nullable CriteriaSet criteria) throws ResolverException- Specified by:
resolve
in interfaceResolver<Credential,CriteriaSet>
- Throws:
ResolverException
-