public abstract class BaseTransientDecoder extends AbstractIdentifiableInitializableComponent
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.storage.StorageService |
idStore
Store used to map identifiers to principals.
|
private org.slf4j.Logger |
log
Class logger.
|
private String |
logPrefix
cache for the log prefix - to save multiple recalculations.
|
| Constructor and Description |
|---|
BaseTransientDecoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
decode(String transientId,
String requesterId)
Convert the transient Id into the principal.
|
protected void |
doInitialize() |
org.opensaml.storage.StorageService |
getIdStore()
Gets the ID store we are using.
|
protected String |
getLogPrefix()
Return a prefix for logging messages for this component.
|
void |
setIdStore(org.opensaml.storage.StorageService store)
Sets the ID store we should 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 org.opensaml.storage.StorageService idStore
@NonnullAfterInit public org.opensaml.storage.StorageService getIdStore()
public void setIdStore(@Nonnull org.opensaml.storage.StorageService store)
store - the store to use.@Nullable public String decode(@Nonnull String transientId, @Nonnull@NotEmpty String requesterId) throws NameDecoderException
transientId - the transientIDrequesterId - the requested (SP)NameDecoderException - if a decode error occursprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractIdentifiedInitializableComponentComponentInitializationExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.