diff options
Diffstat (limited to 'eaaf_core_api')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/data/IAuthProcessDataContainer.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/data/IAuthProcessDataContainer.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/data/IAuthProcessDataContainer.java index 274f3f7f..cb9adbc8 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/data/IAuthProcessDataContainer.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/data/IAuthProcessDataContainer.java @@ -21,6 +21,8 @@ package at.gv.egiz.eaaf.core.api.idp.auth.data; import java.util.Date; import java.util.Map; +import java.util.Map.Entry; +import java.util.stream.Stream; import at.gv.egiz.eaaf.core.exceptions.EaafStorageException; @@ -167,8 +169,21 @@ public interface IAuthProcessDataContainer { */ Date getSessionCreated(); + /** + * Get all generic data from session. + * + * @return {@link Map} of generic data in key/value format + */ Map<String, Object> getGenericSessionDataStorage(); + + /** + * Get all generic data from session as {@link Stream} of {@link Entry} elements. + * + * @return {@link Stream} of generic data + */ + Stream<Entry<String, Object>> getGenericSessionDataStream(); + /** * Returns a generic session-data object with is stored with a specific * identifier. |