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 Modifier and Type Field Description private String
storageContext
Storage context.private Instant
storageExpiration
Storage expiration.private String
storageKey
Storage key.private String
storageValue
Storage value. -
Constructor Summary
Constructors Constructor Description AbstractProfileInterceptorResult(String context, String key, String value, Instant expiration)
Constructor. -
Method Summary
Modifier and Type Method Description String
getStorageContext()
Get the storage context.Instant
getStorageExpiration()
Get the storage expiration.String
getStorageKey()
Get the storage key.String
getStorageValue()
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
-