org.apache.archiva.web.security
Class ArchivaLockedAdminEnvironmentCheck
java.lang.Object
org.apache.archiva.web.security.ArchivaLockedAdminEnvironmentCheck
- All Implemented Interfaces:
- org.apache.archiva.redback.system.check.EnvironmentCheck
@Service(value="environmentCheck#archiva-locked-admin-check")
public class ArchivaLockedAdminEnvironmentCheck
- extends Object
- implements org.apache.archiva.redback.system.check.EnvironmentCheck
- Author:
- Olivier Lamy
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.slf4j.Logger log
rbacManager
@Inject
@Named(value="rbacManager#cached")
private org.apache.archiva.redback.rbac.RBACManager rbacManager
checked
private boolean checked
- boolean detailing if this environment check has been executed
applicationContext
@Inject
private org.springframework.context.ApplicationContext applicationContext
redbackRuntimeConfigurationAdmin
@Inject
private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin
userManagers
private List<org.apache.archiva.redback.users.UserManager> userManagers
ArchivaLockedAdminEnvironmentCheck
public ArchivaLockedAdminEnvironmentCheck()
initialize
@PostConstruct
protected void initialize()
throws RepositoryAdminException
- Throws:
RepositoryAdminException
validateEnvironment
public 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.
- Specified by:
validateEnvironment
in interface org.apache.archiva.redback.system.check.EnvironmentCheck
- Parameters:
violations
-
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.