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 implementClientInformationResolver. Based on net.shibboleth.idp.saml.metadata.impl.ReloadingRelyingPartyMetadataProvider.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.private ReloadableService<ClientInformationResolver>serviceThe service which managed the reloading.
-
Constructor Summary
Constructors Constructor Description ReloadingRelyingPartyClientInformationProvider(ReloadableService<ClientInformationResolver> resolverService)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<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
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
service
private final ReloadableService<ClientInformationResolver> service
The service which managed the reloading.
-
-
Constructor Detail
-
ReloadingRelyingPartyClientInformationProvider
public ReloadingRelyingPartyClientInformationProvider(@Nonnull ReloadableService<ClientInformationResolver> resolverService)Constructor.- Parameters:
resolverService- the service which will manage the loading.
-
-
Method Detail
-
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
-
-