Package org.wildfly.security.auth.client
Class KeyStoreEntrySecurityFactory
- java.lang.Object
-
- org.wildfly.security.auth.client.KeyStoreEntrySecurityFactory
-
- All Implemented Interfaces:
SecurityFactory<KeyStore.Entry>
final class KeyStoreEntrySecurityFactory extends Object implements SecurityFactory<KeyStore.Entry>
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private String
alias
private SecurityFactory<KeyStore>
keyStore
private SecurityFactory<KeyStore.ProtectionParameter>
protectionParameter
-
Constructor Summary
Constructors Constructor Description KeyStoreEntrySecurityFactory(KeyStore keyStore, String alias, KeyStore.ProtectionParameter protectionParameter)
KeyStoreEntrySecurityFactory(SecurityFactory<KeyStore> keyStore, String alias, SecurityFactory<KeyStore.ProtectionParameter> protectionParameter)
-
-
-
Field Detail
-
keyStore
private final SecurityFactory<KeyStore> keyStore
-
alias
private final String alias
-
protectionParameter
private final SecurityFactory<KeyStore.ProtectionParameter> protectionParameter
-
-
Constructor Detail
-
KeyStoreEntrySecurityFactory
KeyStoreEntrySecurityFactory(KeyStore keyStore, String alias, KeyStore.ProtectionParameter protectionParameter)
-
KeyStoreEntrySecurityFactory
KeyStoreEntrySecurityFactory(SecurityFactory<KeyStore> keyStore, String alias, SecurityFactory<KeyStore.ProtectionParameter> protectionParameter)
-
-
Method Detail
-
create
public KeyStore.Entry create() throws GeneralSecurityException
Description copied from interface:SecurityFactory
Create an instance.- Specified by:
create
in interfaceSecurityFactory<KeyStore.Entry>
- Returns:
- the new instance
- Throws:
GeneralSecurityException
- if instantiation fails for some reason
-
-