Class CredentialConfigFactoryBean
java.lang.Object
net.shibboleth.shared.spring.factory.AbstractFactoryBean<T>
net.shibboleth.shared.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 CredentialOur authentication credential for the LDAP connection.private static org.slf4j.LoggerClass logger.private CredentialThe credential of the LDAP server.Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CredentialConfigGet the authentication credential for the LDAP connection.Class<?>Get the credential of the LDAP server.voidsetAuthCredential(Credential credential) Set the authentication credential for the LDAP connection.voidsetTrustCredential(Credential credential) Set the credential of the LDAP server.Methods inherited from class net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean
createInstance, destroyInstance, setThrowIfNullMethods inherited from class net.shibboleth.shared.spring.factory.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:
getObjectTypein interfaceFactoryBean<CredentialConfig>- Specified by:
getObjectTypein classAbstractFactoryBean<CredentialConfig>
-
doCreateInstance
- Specified by:
doCreateInstancein 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.
-