Package net.shibboleth.oidc.metadata
Interface RefreshableClientInformationResolver
- All Superinterfaces:
ClientInformationResolver,Component,IdentifiedComponent,Resolver<OIDCClientInformation,CriteriaSet>
- All Known Implementing Classes:
ChainingClientInformationResolver,FilesystemClientInformationResolver,RelyingPartyClientInformationProvider
Specialization of
ClientInformationResolver that supports on-demand refresh.-
Method Summary
Modifier and TypeMethodDescriptionGets the time the last refresh cycle occurred.Get the time that the currently available client information was last updated.voidrefresh()Refresh the data exposed by the resolver.Methods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.resolver.Resolver
resolve, resolveSingle
-
Method Details
-
refresh
Refresh the data exposed by the resolver.An implementation of this method should typically be either
synchronizedor make use other locking mechanisms to protect against concurrent access.- Throws:
ResolverException- if the refresh operation was unsuccessful
-
getLastRefresh
Gets the time the last refresh cycle occurred.- Returns:
- time the last refresh cycle occurred
-
getLastUpdate
Get the time that the currently available client information was last updated. Note, this may be different than the time retrieved bygetLastRefresh()is the client information was known not to have changed during the last refresh cycle.- Returns:
- time when the currently client information was last updated, null if it has never successfully been read in
-