public class StoredPersistentIdDecoder extends AbstractIdentifiableInitializableComponent implements NameIDDecoder
StoredPersistentIdGenerationStrategy.| Modifier and Type | Field and Description |
|---|---|
private DataSource |
dataSource
A DataSource to auto-provision a
JDBCPersistentIdStoreEx instance. |
private PersistentIdStore |
deprecatedStore
Deprecated version of persistent identifier data store.
|
private org.slf4j.Logger |
log
Class logger.
|
private PersistentIdStoreEx |
pidStore
Updated version of persistent identifier data store layer.
|
| Constructor and Description |
|---|
StoredPersistentIdDecoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
decode(SubjectCanonicalizationContext c14nContext,
org.opensaml.saml.saml2.core.NameID nameID) |
protected void |
doInitialize() |
IPersistentIdStore |
getPersistentIdStore()
Get the data store.
|
void |
setDataSource(DataSource source)
Set a data source to inject into an auto-provisioned instance of
JDBCPersistentIdStoreEx
to use as the storage strategy. |
void |
setPersistentIdStore(IPersistentIdStore store)
Set a data store to use.
|
setIdgetIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private PersistentIdStoreEx pidStore
@Nullable private DataSource dataSource
JDBCPersistentIdStoreEx instance.@Nullable private PersistentIdStore deprecatedStore
@NonnullAfterInit public IPersistentIdStore getPersistentIdStore()
public void setPersistentIdStore(@Nullable IPersistentIdStore store)
store - the data storepublic void setDataSource(@Nullable DataSource source)
JDBCPersistentIdStoreEx
to use as the storage strategy.source - the data sourceprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractIdentifiedInitializableComponentComponentInitializationException@Nonnull @NotEmpty public String decode(@Nonnull SubjectCanonicalizationContext c14nContext, @Nonnull org.opensaml.saml.saml2.core.NameID nameID) throws NameDecoderException
decode in interface NameIDDecoderNameDecoderExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.