Class BasicJWKCredentialFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<T>
-
- net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean<T>
-
- net.shibboleth.idp.profile.spring.factory.AbstractCredentialFactoryBean<net.shibboleth.oidc.security.credential.BasicJWKCredential>
-
- net.shibboleth.idp.plugin.oidc.op.profile.spring.factory.BasicJWKCredentialFactoryBean
-
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<net.shibboleth.oidc.security.credential.BasicJWKCredential>,InitializingBean
public class BasicJWKCredentialFactoryBean extends net.shibboleth.idp.profile.spring.factory.AbstractCredentialFactoryBean<net.shibboleth.oidc.security.credential.BasicJWKCredential>factory bean for Basic JSON Web Keys (JWK).
-
-
Field Summary
Fields Modifier and Type Field Description private ResourcejwkResourceWhere the private key is to be found.private org.slf4j.LoggerlogClass logger.-
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 Constructor Description BasicJWKCredentialFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.shibboleth.oidc.security.credential.BasicJWKCredentialdoCreateInstance()Class<?>getObjectType()voidsetResource(Resource res)Set the resource containing the private key.-
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 Detail
-
log
private final org.slf4j.Logger log
Class logger.
-
jwkResource
private Resource jwkResource
Where the private key is to be found.
-
-
Method Detail
-
setResource
public void setResource(@Nonnull Resource res)Set the resource containing the private key.- Parameters:
res- private key resource, nevernull
-
doCreateInstance
protected net.shibboleth.oidc.security.credential.BasicJWKCredential doCreateInstance() throws Exception- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<net.shibboleth.oidc.security.credential.BasicJWKCredential>- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceFactoryBean<net.shibboleth.oidc.security.credential.BasicJWKCredential>- Specified by:
getObjectTypein classAbstractFactoryBean<net.shibboleth.oidc.security.credential.BasicJWKCredential>
-
-