Class AbstractProfileInterceptorResult
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.profile.interceptor.AbstractProfileInterceptorResult
- All Implemented Interfaces:
ProfileInterceptorResult,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
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.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, 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
-
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:
getStorageContextin interfaceProfileInterceptorResult- Returns:
- the storage context
-
getStorageKey
Get the storage key.- Specified by:
getStorageKeyin interfaceProfileInterceptorResult- Returns:
- the storage key
-
getStorageValue
Get the storage value.- Specified by:
getStorageValuein interfaceProfileInterceptorResult- Returns:
- the storage value
-
getStorageExpiration
Get the storage expiration.- Specified by:
getStorageExpirationin interfaceProfileInterceptorResult- Returns:
- the storage expiration
-