Class CredentialConfigFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean<CredentialConfig>
net.shibboleth.idp.attribute.resolver.spring.dc.ldap.impl.CredentialConfigFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<CredentialConfig>
,InitializingBean
public class CredentialConfigFactoryBean
extends AbstractComponentAwareFactoryBean<CredentialConfig>
A Factory bean to summon up
CredentialConfig
from supplied <Credential> statements.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Credential
Our authentication credential for the LDAP connection.private static org.slf4j.Logger
Class logger.private Credential
The credential of the LDAP server.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 CredentialConfig
Get the authentication credential for the LDAP connection.Class<?>
Get the credential of the LDAP server.void
setAuthCredential
(Credential credential) Set the authentication credential for the LDAP connection.void
setTrustCredential
(Credential credential) Set the credential of the LDAP server.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
@Nonnull private static org.slf4j.Logger logClass logger. -
trustCredential
The credential of the LDAP server. -
authCredential
Our authentication credential for the LDAP connection.
-
-
Constructor Details
-
CredentialConfigFactoryBean
public CredentialConfigFactoryBean()
-
-
Method Details
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<CredentialConfig>
- Specified by:
getObjectType
in classAbstractFactoryBean<CredentialConfig>
-
doCreateInstance
- Specified by:
doCreateInstance
in classAbstractComponentAwareFactoryBean<CredentialConfig>
- Throws:
Exception
-
getAuthCredential
Get the authentication credential for the LDAP connection.- Returns:
- Returns the authnCredential.
-
setAuthCredential
Set the authentication credential for the LDAP connection.- Parameters:
credential
- What to set.
-
getTrustCredential
Get the credential of the LDAP server.- Returns:
- Returns the trustCredential.
-
setTrustCredential
Set the credential of the LDAP server.- Parameters:
credential
- What to set.
-