Class BaseStorageServiceClientInformationComponent
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.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 for
ClientInformationManager and ClientInformationResolver implementations
exploiting StorageService for storing the OIDC client information.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe context name in theStorageService.private StorageServiceTheStorageServiceback-end to use. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method checks to ensure that theStorageServiceback-end is not null.Get theStorageServiceback-end to use.voidsetStorageService(StorageService storage) Set theStorageServiceback-end to use.Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, 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.shared.component.IdentifiedComponent
getId
-
Field Details
-
CONTEXT_NAME
The context name in theStorageService.- See Also:
-
storageService
TheStorageServiceback-end to use.
-
-
Constructor Details
-
BaseStorageServiceClientInformationComponent
public BaseStorageServiceClientInformationComponent()
-
-
Method Details
-
doInitialize
This method checks to ensure that theStorageServiceback-end is not null.- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException
-
getStorageService
Get theStorageServiceback-end to use.- Returns:
- the back-end to use
-
setStorageService
Set theStorageServiceback-end to use.- Parameters:
storage- the back-end to use
-