Class BaseStorageServiceClientInformationComponent
- 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.BaseStorageServiceClientInformationComponent
-
- All Implemented Interfaces:
Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
- Direct Known Subclasses:
StorageServiceClientInformationManager,StorageServiceClientInformationResolver
public abstract class BaseStorageServiceClientInformationComponent extends AbstractIdentifiableInitializableComponent
A base class forClientInformationManagerandClientInformationResolverimplementations exploitingStorageServicefor storing the OIDC client information.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_NAMEThe context name in theStorageService.private StorageServicestorageServiceTheStorageServiceback-end to use.
-
Constructor Summary
Constructors Constructor Description BaseStorageServiceClientInformationComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInitialize()This method checks to ensure that theStorageServiceback-end is not null.StorageServicegetStorageService()Get theStorageServiceback-end to use.voidsetStorageService(StorageService storage)Set theStorageServiceback-end to use.-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
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
-
CONTEXT_NAME
@Nonnull @NotEmpty public static final String CONTEXT_NAME
The context name in theStorageService.- See Also:
- Constant Field Values
-
storageService
@NonnullAfterInit private StorageService storageService
TheStorageServiceback-end to use.
-
-
Method Detail
-
doInitialize
protected void doInitialize() throws ComponentInitializationExceptionThis method checks to ensure that theStorageServiceback-end is not null.- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException
-
getStorageService
@NonnullAfterInit public StorageService getStorageService()
Get theStorageServiceback-end to use.- Returns:
- the back-end to use
-
setStorageService
public void setStorageService(@Nonnull StorageService storage)Set theStorageServiceback-end to use.- Parameters:
storage- the back-end to use
-
-