Class KeyStoreFactoryBean
java.lang.Object
net.shibboleth.shared.spring.security.factory.KeyStoreFactoryBean
- All Implemented Interfaces:
FactoryBean<KeyStore>
- Since:
- 5.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringPassword for the keystore.private KeyStoreThe singleton instance of the private key produced by this factory.private StringKeyStore provider.private ResourceKeyStore resource.private StringKeyStore type.Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>booleanvoidsetPassword(String password) Set the password for the keystore.voidsetProvider(String prov) Set the KeyStore provider, if non-defaulted.voidsetResource(Resource res) Set the resource containing the keystore.voidSet the KeyStore type, if non-defaulted.
-
Field Details
-
resource
KeyStore resource. -
keyPass
Password for the keystore. -
type
KeyStore type. -
provider
KeyStore provider. -
keyStore
The singleton instance of the private key produced by this factory.
-
-
Constructor Details
-
KeyStoreFactoryBean
public KeyStoreFactoryBean()
-
-
Method Details
-
setResource
Set the resource containing the keystore.- Parameters:
res- private key resource
-
setPassword
Set the password for the keystore.- Parameters:
password- password for the keystore
-
setProvider
Set the KeyStore provider, if non-defaulted.- Parameters:
prov- provider
-
setType
Set the KeyStore type, if non-defaulted.- Parameters:
typ- KeyStore type
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<KeyStore>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<KeyStore>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceFactoryBean<KeyStore>
-