@Service(value="environmentCheck#archiva-locked-admin-check") public class ArchivaLockedAdminEnvironmentCheck extends Object implements org.apache.archiva.redback.system.check.EnvironmentCheck
Modifier and Type | Field and Description |
---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private boolean |
checked
boolean detailing if this environment check has been executed
|
protected org.slf4j.Logger |
log |
private org.apache.archiva.redback.rbac.RBACManager |
rbacManager |
private RedbackRuntimeConfigurationAdmin |
redbackRuntimeConfigurationAdmin |
private List<org.apache.archiva.redback.users.UserManager> |
userManagers |
Constructor and Description |
---|
ArchivaLockedAdminEnvironmentCheck() |
Modifier and Type | Method and Description |
---|---|
protected void |
initialize() |
void |
validateEnvironment(List<String> violations)
This environment check will unlock system administrator accounts that are locked on the restart of the
application when the environment checks are processed.
|
protected org.slf4j.Logger log
@Inject @Named(value="rbacManager#cached") private org.apache.archiva.redback.rbac.RBACManager rbacManager
private boolean checked
@Inject private org.springframework.context.ApplicationContext applicationContext
@Inject private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin
private List<org.apache.archiva.redback.users.UserManager> userManagers
public ArchivaLockedAdminEnvironmentCheck()
@PostConstruct protected void initialize() throws RepositoryAdminException
RepositoryAdminException
public void validateEnvironment(List<String> violations)
validateEnvironment
in interface org.apache.archiva.redback.system.check.EnvironmentCheck
violations
- Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.