Class PublicKeyFactoryBean
java.lang.Object
net.shibboleth.shared.spring.security.factory.PublicKeyFactoryBean
- All Implemented Interfaces:
FactoryBean<PublicKey>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PublicKeyThe singleton instance of the public key produced by this factory.private ResourcePublic key resource.Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>booleanvoidsetResource(Resource res) Sets the public key resource.
-
Field Details
-
resource
Public key resource. -
key
The singleton instance of the public key produced by this factory.
-
-
Constructor Details
-
PublicKeyFactoryBean
public PublicKeyFactoryBean()
-
-
Method Details
-
setResource
Sets the public key resource.- Parameters:
res- public key resource
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<PublicKey>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<PublicKey>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceFactoryBean<PublicKey>
-