@Service(value="redbackRuntimeConfigurationService#rest") public class DefaultRedbackRuntimeConfigurationService extends AbstractRestService implements RedbackRuntimeConfigurationService
Modifier and Type | Field and Description |
---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private org.apache.archiva.redback.common.ldap.connection.LdapConnectionFactory |
ldapConnectionFactory |
private org.apache.archiva.redback.common.ldap.user.LdapUserMapper |
ldapUserMapper |
private org.apache.archiva.redback.rbac.RBACManager |
rbacManager |
private RedbackRuntimeConfigurationAdmin |
redbackRuntimeConfigurationAdmin |
private org.apache.archiva.redback.role.RoleManager |
roleManager |
private org.apache.archiva.redback.users.UserManager |
userManager |
private org.apache.archiva.redback.components.cache.Cache |
usersCache |
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultRedbackRuntimeConfigurationService() |
Modifier and Type | Method and Description |
---|---|
Boolean |
checkLdapConnection() |
Boolean |
checkLdapConnection(LdapConfiguration ldapConfiguration) |
List<RBACManagerImplementationInformation> |
getRbacManagerImplementationInformations() |
RedbackImplementationsInformations |
getRedbackImplementationsInformations() |
RedbackRuntimeConfiguration |
getRedbackRuntimeConfiguration() |
List<UserManagerImplementationInformation> |
getUserManagerImplementationInformations() |
private Properties |
toProperties(Map<String,String> map) |
Boolean |
updateRedbackRuntimeConfiguration(RedbackRuntimeConfiguration redbackRuntimeConfiguration) |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
@Inject private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin
@Inject @Named(value="userManager#configurable") private org.apache.archiva.redback.users.UserManager userManager
@Inject @Named(value="rbacManager#default") private org.apache.archiva.redback.rbac.RBACManager rbacManager
@Inject private org.apache.archiva.redback.role.RoleManager roleManager
@Inject private org.springframework.context.ApplicationContext applicationContext
@Inject @Named(value="ldapConnectionFactory#configurable") private org.apache.archiva.redback.common.ldap.connection.LdapConnectionFactory ldapConnectionFactory
@Inject @Named(value="cache#users") private org.apache.archiva.redback.components.cache.Cache usersCache
@Inject private org.apache.archiva.redback.common.ldap.user.LdapUserMapper ldapUserMapper
public DefaultRedbackRuntimeConfigurationService()
public RedbackRuntimeConfiguration getRedbackRuntimeConfiguration() throws ArchivaRestServiceException
getRedbackRuntimeConfiguration
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
public Boolean updateRedbackRuntimeConfiguration(RedbackRuntimeConfiguration redbackRuntimeConfiguration) throws ArchivaRestServiceException
updateRedbackRuntimeConfiguration
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
public List<UserManagerImplementationInformation> getUserManagerImplementationInformations() throws ArchivaRestServiceException
getUserManagerImplementationInformations
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
public List<RBACManagerImplementationInformation> getRbacManagerImplementationInformations() throws ArchivaRestServiceException
getRbacManagerImplementationInformations
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
public RedbackImplementationsInformations getRedbackImplementationsInformations() throws ArchivaRestServiceException
getRedbackImplementationsInformations
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
public Boolean checkLdapConnection() throws ArchivaRestServiceException
checkLdapConnection
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
public Boolean checkLdapConnection(LdapConfiguration ldapConfiguration) throws ArchivaRestServiceException
checkLdapConnection
in interface RedbackRuntimeConfigurationService
ArchivaRestServiceException
private Properties toProperties(Map<String,String> map)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.