@Service public class SecuritySynchronization extends Object implements org.apache.archiva.redback.components.registry.RegistryListener
Modifier and Type | Field and Description |
---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private ArchivaConfiguration |
archivaConfiguration |
private Map<String,org.apache.archiva.redback.system.check.EnvironmentCheck> |
checkers |
private org.slf4j.Logger |
log |
private org.apache.archiva.redback.rbac.RBACManager |
rbacManager |
private org.apache.archiva.redback.role.RoleManager |
roleManager |
Constructor and Description |
---|
SecuritySynchronization() |
Modifier and Type | Method and Description |
---|---|
void |
afterConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry,
String propertyName,
Object propertyValue) |
private void |
assignRepositoryObserverToGuestUser(List<ManagedRepositoryConfiguration> repos) |
void |
beforeConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry,
String propertyName,
Object propertyValue) |
private void |
executeEnvironmentChecks() |
protected <T> Map<String,T> |
getBeansOfType(Class<T> clazz) |
void |
initialize() |
void |
startup() |
private void |
synchConfiguration(List<ManagedRepositoryConfiguration> repos) |
private void |
syncRepoConfiguration(String id) |
private org.slf4j.Logger log
@Inject private org.apache.archiva.redback.role.RoleManager roleManager
@Inject @Named(value="rbacManager#cached") private org.apache.archiva.redback.rbac.RBACManager rbacManager
@Inject private ArchivaConfiguration archivaConfiguration
@Inject private org.springframework.context.ApplicationContext applicationContext
public SecuritySynchronization()
@PostConstruct public void initialize()
protected <T> Map<String,T> getBeansOfType(Class<T> clazz)
public void afterConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry, String propertyName, Object propertyValue)
afterConfigurationChange
in interface org.apache.archiva.redback.components.registry.RegistryListener
public void beforeConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry, String propertyName, Object propertyValue)
beforeConfigurationChange
in interface org.apache.archiva.redback.components.registry.RegistryListener
private void synchConfiguration(List<ManagedRepositoryConfiguration> repos)
private void syncRepoConfiguration(String id)
public void startup() throws ArchivaException
ArchivaException
private void executeEnvironmentChecks() throws ArchivaException
ArchivaException
private void assignRepositoryObserverToGuestUser(List<ManagedRepositoryConfiguration> repos)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.