Class AbstractProfileInterceptorResult
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.idp.profile.interceptor.AbstractProfileInterceptorResult
- All Implemented Interfaces:
ProfileInterceptorResult
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
- Direct Known Subclasses:
ConsentResult
public abstract class AbstractProfileInterceptorResult
extends AbstractIdentifiableInitializableComponent
implements ProfileInterceptorResult
Base class for profile interceptor results.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractProfileInterceptorResult
(String context, String key, String value, Instant expiration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the storage context.Get the storage expiration.Get the storage key.Get the storage value.Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, 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 Details
-
storageContext
Storage context. -
storageKey
Storage key. -
storageValue
Storage value. -
storageExpiration
Storage expiration.
-
-
Constructor Details
-
AbstractProfileInterceptorResult
public AbstractProfileInterceptorResult(@Nonnull @NotEmpty String context, @Nonnull @NotEmpty String key, @Nonnull @NotEmpty String value, @Nullable Instant expiration) Constructor.- Parameters:
context
- storage contextkey
- storage keyvalue
- storage valueexpiration
- storage expiration
-
-
Method Details
-
getStorageContext
Get the storage context.- Specified by:
getStorageContext
in interfaceProfileInterceptorResult
- Returns:
- the storage context
-
getStorageKey
Get the storage key.- Specified by:
getStorageKey
in interfaceProfileInterceptorResult
- Returns:
- the storage key
-
getStorageValue
Get the storage value.- Specified by:
getStorageValue
in interfaceProfileInterceptorResult
- Returns:
- the storage value
-
getStorageExpiration
Get the storage expiration.- Specified by:
getStorageExpiration
in interfaceProfileInterceptorResult
- Returns:
- the storage expiration
-