Class UserKeyStoreCache
java.lang.Object
de.adorsys.datasafe.directory.impl.profile.keys.UserKeyStoreCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeIfAbsent(UserIDAuth userIDAuth, Function<? super UserID, ? extends KeyStore> mappingFunction) If the keyStore provided is a not a UBER KeyStore, a new UBER KeyStore without a ReadStorePassword is created.
-
Constructor Details
-
UserKeyStoreCache
public UserKeyStoreCache()
-
-
Method Details
-
computeIfAbsent
public KeyStore computeIfAbsent(UserIDAuth userIDAuth, Function<? super UserID, ? extends KeyStore> mappingFunction) If the keyStore provided is a not a UBER KeyStore, a new UBER KeyStore without a ReadStorePassword is created. This store is returned and stored in the map.- Parameters:
userIDAuth-mappingFunction-- Returns:
- always a UBER KeyStore
-