@Service(value="ldapConnectionFactory#archiva") public class ArchivaLdapConnectionFactory extends org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory
Modifier and Type | Field and Description |
---|---|
private org.apache.archiva.redback.common.ldap.connection.LdapConnectionConfiguration |
ldapConnectionConfiguration |
private org.slf4j.Logger |
log |
private RedbackRuntimeConfigurationAdmin |
redbackRuntimeConfigurationAdmin |
private boolean |
valid |
Constructor and Description |
---|
ArchivaLdapConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.archiva.redback.common.ldap.connection.LdapConnectionConfiguration |
getLdapConnectionConfiguration() |
void |
initialize() |
boolean |
isValid() |
void |
setLdapConnectionConfiguration(org.apache.archiva.redback.common.ldap.connection.LdapConnectionConfiguration ldapConnectionConfiguration) |
private Properties |
toProperties(Map<String,String> map) |
addObjectFactory, addStateFactory, getAuthenticationMethod, getBaseDn, getBaseDnLdapName, getBindDn, getConnection, getConnection, getConnection, getConnection, getContextFactory, getExtraProperties, getHostname, getPassword, getPort, getUserConf, isSsl, setAuthenticationMethod, setBaseDn, setBindDn, setContextFactory, setExtraProperties, setHostname, setPassword, setPort, setSsl, setUserConf, toString
private final org.slf4j.Logger log
private boolean valid
@Inject private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin
private org.apache.archiva.redback.common.ldap.connection.LdapConnectionConfiguration ldapConnectionConfiguration
public ArchivaLdapConnectionFactory()
@PostConstruct public void initialize()
initialize
in interface org.apache.archiva.redback.common.ldap.connection.LdapConnectionFactory
initialize
in class org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory
private Properties toProperties(Map<String,String> map)
public org.apache.archiva.redback.common.ldap.connection.LdapConnectionConfiguration getLdapConnectionConfiguration()
getLdapConnectionConfiguration
in class org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory
public void setLdapConnectionConfiguration(org.apache.archiva.redback.common.ldap.connection.LdapConnectionConfiguration ldapConnectionConfiguration)
setLdapConnectionConfiguration
in class org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory
public boolean isValid()
isValid
in interface org.apache.archiva.redback.common.ldap.connection.LdapConnectionFactory
isValid
in class org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.