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,net.shibboleth.utilities.java.support.component.Component,net.shibboleth.utilities.java.support.component.DestructableComponent,net.shibboleth.utilities.java.support.component.IdentifiableComponent,net.shibboleth.utilities.java.support.component.IdentifiedComponent,net.shibboleth.utilities.java.support.component.InitializableComponent
public abstract class AbstractProfileInterceptorResult extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent implements ProfileInterceptorResult
Base class for profile interceptor results.
-
-
Field Summary
Fields Modifier and Type Field Description private StringstorageContextStorage context.private InstantstorageExpirationStorage expiration.private StringstorageKeyStorage key.private StringstorageValueStorage value.
-
Constructor Summary
Constructors Constructor Description AbstractProfileInterceptorResult(String context, String key, String value, Instant expiration)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStorageContext()Get the storage context.InstantgetStorageExpiration()Get the storage expiration.StringgetStorageKey()Get the storage key.StringgetStorageValue()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
-
-
-
-
Field Detail
-
storageContext
@Nonnull @NotEmpty private String storageContext
Storage context.
-
storageKey
@Nonnull @NotEmpty private String storageKey
Storage key.
-
storageValue
@Nonnull @NotEmpty private String storageValue
Storage value.
-
storageExpiration
@Nullable private Instant storageExpiration
Storage expiration.
-
-
Constructor Detail
-
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 Detail
-
getStorageContext
@Nonnull @NotEmpty public String getStorageContext()
Get the storage context.- Specified by:
getStorageContextin interfaceProfileInterceptorResult- Returns:
- the storage context
-
getStorageKey
@Nonnull @NotEmpty public String getStorageKey()
Get the storage key.- Specified by:
getStorageKeyin interfaceProfileInterceptorResult- Returns:
- the storage key
-
getStorageValue
@Nonnull @NotEmpty public String getStorageValue()
Get the storage value.- Specified by:
getStorageValuein interfaceProfileInterceptorResult- Returns:
- the storage value
-
getStorageExpiration
@Nullable public Instant getStorageExpiration()
Get the storage expiration.- Specified by:
getStorageExpirationin interfaceProfileInterceptorResult- Returns:
- the storage expiration
-
-