public class PublicKeyFactoryBean extends Object implements FactoryBean<PublicKey>
| Modifier and Type | Field and Description |
|---|---|
private PublicKey |
key
The singleton instance of the public key produced by this factory.
|
private Resource |
resource
Public key resource.
|
| Constructor and Description |
|---|
PublicKeyFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setResource(Resource res)
Sets the public key resource.
|
private Resource resource
private PublicKey key
public void setResource(@Nonnull Resource res)
res - public key resourcepublic PublicKey getObject() throws Exception
getObject in interface FactoryBean<PublicKey>Exception@Nonnull public Class<?> getObjectType()
getObjectType in interface FactoryBean<PublicKey>public boolean isSingleton()
isSingleton in interface FactoryBean<PublicKey>Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.