Class UserKeyStoreLocator
- java.lang.Object
-
- de.xima.fc.certificate.gui.internal.UserKeyStoreLocator
-
public class UserKeyStoreLocator extends Object
-
-
Constructor Summary
Constructors Constructor Description UserKeyStoreLocator(KeyStoreManagementService keyStoreManagementService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<KeyStoreInfoDTO>getUserKeyStores(Collection<CertificateUserDetailsAdapter.Adapter> certificateDetails, CertificateManagementUser user)Finds user keystores based on the provided collection of certificate user details adapters.
-
-
-
Constructor Detail
-
UserKeyStoreLocator
public UserKeyStoreLocator(KeyStoreManagementService keyStoreManagementService)
-
-
Method Detail
-
getUserKeyStores
public Set<KeyStoreInfoDTO> getUserKeyStores(Collection<CertificateUserDetailsAdapter.Adapter> certificateDetails, CertificateManagementUser user) throws FcCertificateManagementException
Finds user keystores based on the provided collection of certificate user details adapters. These keystores may be used as options for the user to select from when managing their certificates.- Parameters:
certificateDetails- the collection of certificate user details adaptersuser- the user requesting the key stores- Returns:
- a set of KeyStoreInfoDTO objects representing the key stores assigned to the users
- Throws:
FcCertificateManagementException- if an error occurs while retrieving the key stores
-
-