public class StaticExplicitKeyFactoryBean extends AbstractComponentAwareFactoryBean<ExplicitKeyTrustEngine>
ExplicitKeyTrustEngine and static credentials.| Modifier and Type | Field and Description |
|---|---|
private List<org.springframework.core.io.Resource> |
certificateResources
The resources to be turned into certificates.
|
private List<org.springframework.core.io.Resource> |
keyResources
The resources to be turned into keys.
|
private org.slf4j.Logger |
log
log.
|
| Constructor and Description |
|---|
StaticExplicitKeyFactoryBean()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ExplicitKeyTrustEngine |
doCreateInstance() |
protected List<Credential> |
getCredentials()
Get the configured certificates.
|
Class<?> |
getObjectType() |
void |
setCertificates(List<org.springframework.core.io.Resource> certs)
Set the resources which we will convert into certificates.
|
void |
setPublicKeys(List<org.springframework.core.io.Resource> keys)
Set the resources which we will convert into certificates.
|
createInstance, destroyInstanceprivate org.slf4j.Logger log
private List<org.springframework.core.io.Resource> keyResources
private List<org.springframework.core.io.Resource> certificateResources
public void setPublicKeys(@Nullable List<org.springframework.core.io.Resource> keys)
keys - the resourcespublic void setCertificates(@Nullable List<org.springframework.core.io.Resource> certs)
certs - the resources@Nullable @NonnullElements protected List<Credential> getCredentials()
public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<ExplicitKeyTrustEngine>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<ExplicitKeyTrustEngine>protected ExplicitKeyTrustEngine doCreateInstance() throws Exception
doCreateInstance in class AbstractComponentAwareFactoryBean<ExplicitKeyTrustEngine>ExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.