Class ReloadingRelyingPartyClientInformationProvider
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
net.shibboleth.oidc.metadata.impl.ReloadingRelyingPartyClientInformationProvider
- All Implemented Interfaces:
ClientInformationResolver,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,Resolver<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation,CriteriaSet>
public class ReloadingRelyingPartyClientInformationProvider
extends AbstractIdentifiableInitializableComponent
implements ClientInformationResolver
This class uses the service interface to implement
ClientInformationResolver.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private final ReloadableService<ClientInformationResolver>The service which managed the reloading. -
Constructor Summary
ConstructorsConstructorDescriptionReloadingRelyingPartyClientInformationProvider(ReloadableService<ClientInformationResolver> resolverService) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionIterable<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation>resolve(CriteriaSet criteria) com.nimbusds.openid.connect.sdk.rp.OIDCClientInformationresolveSingle(CriteriaSet criteria) Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
service
The service which managed the reloading.
-
-
Constructor Details
-
ReloadingRelyingPartyClientInformationProvider
public ReloadingRelyingPartyClientInformationProvider(@Nonnull ReloadableService<ClientInformationResolver> resolverService) Constructor.- Parameters:
resolverService- the service which will manage the loading.
-
-
Method Details
-
resolve
@Nonnull public Iterable<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation> resolve(CriteriaSet criteria) throws ResolverException - Specified by:
resolvein interfaceResolver<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation,CriteriaSet> - Throws:
ResolverException
-
resolveSingle
@Nullable public com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation resolveSingle(CriteriaSet criteria) throws ResolverException - Specified by:
resolveSinglein interfaceResolver<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation,CriteriaSet> - Throws:
ResolverException
-