Class BasicResourceCredentialFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean<T>
net.shibboleth.idp.profile.spring.factory.AbstractCredentialFactoryBean<BasicCredential>
net.shibboleth.idp.profile.spring.factory.AbstractBasicCredentialFactoryBean
net.shibboleth.idp.profile.spring.factory.BasicResourceCredentialFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<BasicCredential>
,InitializingBean
Spring bean factory for producing a
BasicCredential
from Resource
s.-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.profile.spring.factory.AbstractBasicCredentialFactoryBean
AbstractBasicCredentialFactoryBean.SecretKeyEncoding
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.Logger
log.private Resource
Configured private key Info.private Resource
Configured public key Info.private Resource
Configured secret key Info.Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrivateKey
Get the configured Private key.Get the information used to generate the private key.protected PublicKey
return the configured Public Key.Get the information used to generate the public key.protected SecretKey
return the configured Secret Key.Get the information used to generate the secret key.void
setPrivateKeyInfo
(Resource info) Set the information used to generate the private key.void
setPublicKeyInfo
(Resource info) Set the information used to generate the public key.void
setSecretKeyInfo
(Resource info) Set the information used to generate the secret key.Methods inherited from class net.shibboleth.idp.profile.spring.factory.AbstractBasicCredentialFactoryBean
decodeSecretKey, decodeSecretKey, doCreateInstance, getObjectType, getSecretKeyAlgorithm, getSecretKeyEncoding, setSecretKeyAlgorithm, setSecretKeyEncoding
Methods inherited from class net.shibboleth.idp.profile.spring.factory.AbstractCredentialFactoryBean
getConfigDescription, getEntityID, getKeyNames, getPrivateKeyPassword, getUsageType, setConfigDescription, setEntityID, setKeyNames, setPrivateKeyPassword, setUsageType
Methods inherited from class net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean
createInstance, destroyInstance
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
log
private final org.slf4j.Logger loglog. -
publicKeyInfo
Configured public key Info. -
privateKeyInfo
Configured private key Info. -
secretKeyInfo
Configured secret key Info.
-
-
Constructor Details
-
BasicResourceCredentialFactoryBean
public BasicResourceCredentialFactoryBean()
-
-
Method Details
-
getPublicKeyInfo
Get the information used to generate the public key.- Returns:
- Returns the info.
-
setPublicKeyInfo
Set the information used to generate the public key.- Parameters:
info
- The info to set.
-
getPrivateKeyInfo
Get the information used to generate the private key.- Returns:
- Returns the info.
-
setPrivateKeyInfo
Set the information used to generate the private key.- Parameters:
info
- The info to set.
-
getSecretKeyInfo
Get the information used to generate the secret key.- Returns:
- Returns the info.
-
setSecretKeyInfo
Set the information used to generate the secret key.- Parameters:
info
- The info to set.
-
getPublicKey
return the configured Public Key.- Specified by:
getPublicKey
in classAbstractBasicCredentialFactoryBean
- Returns:
- the key, or none if not configured.
-
getPrivateKey
Get the configured Private key.- Specified by:
getPrivateKey
in classAbstractBasicCredentialFactoryBean
- Returns:
- the key or null if non configured
-
getSecretKey
return the configured Secret Key.- Specified by:
getSecretKey
in classAbstractBasicCredentialFactoryBean
- Returns:
- the key, or none if not configured.
-