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 StringidComponent ID.private org.slf4j.LoggerlogLogger.private ReloadableSpringService<RelyingPartyConfigurationResolver>serviceThe reloading resolver which is the source of the credentials.
-
Constructor Summary
Constructors Constructor Description SigningCredentialsResolver(ReloadableSpringService<RelyingPartyConfigurationResolver> resolverService)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Iterable<Credential>resolve(CriteriaSet criteria)CredentialresolveSingle(CriteriaSet criteriaSet)voidsetId(String componentId)
-
-
-
Field Detail
-
log
@Nonnull private org.slf4j.Logger log
Logger.
-
service
@Nonnull private ReloadableSpringService<RelyingPartyConfigurationResolver> service
The reloading resolver which is the source of the credentials.
-
id
@Nullable private String id
Component ID.
-
-
Constructor Detail
-
SigningCredentialsResolver
public SigningCredentialsResolver(@Nonnull ReloadableSpringService<RelyingPartyConfigurationResolver> resolverService)Constructor.- Parameters:
resolverService- the Spring service exposing the relying party configuration service
-
-
Method Detail
-
getId
@Nullable public String getId()
- Specified by:
getIdin interfaceIdentifiedComponent
-
setId
public void setId(@Nonnull @NotEmpty String componentId)
- 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
-
-