Class EncryptionCredentialsResolver
java.lang.Object
net.shibboleth.idp.relyingparty.impl.EncryptionCredentialsResolver
- All Implemented Interfaces:
Component
,IdentifiableComponent
,IdentifiedComponent
,Resolver<Credential,
,CriteriaSet> CredentialResolver
public class EncryptionCredentialsResolver
extends Object
implements CredentialResolver, IdentifiableComponent
Credential resolver whose purpose is to resolve configured IdP encryption credentials.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Component ID.private org.slf4j.Logger
Logger.The reloading resolver which is the source of the credentials. -
Constructor Summary
ConstructorsConstructorDescriptionEncryptionCredentialsResolver
(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
-
EncryptionCredentialsResolver
public EncryptionCredentialsResolver(@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
-