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 Stringaliasprivate SecurityFactory<KeyStore>keyStoreprivate 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:SecurityFactoryCreate an instance.- Specified by:
 createin interfaceSecurityFactory<KeyStore.Entry>- Returns:
 - the new instance
 - Throws:
 GeneralSecurityException- if instantiation fails for some reason
 
 - 
 
 -