From 503dc28855d77ea6a40f165a5446043beee9b86e Mon Sep 17 00:00:00 2001 From: Jesse McConnell Date: Wed, 23 May 2007 22:23:14 +0000 Subject: [PATCH] add component decl to get around PLXREDBACK-82 and activate the environment checker to unlock admin accounts on restart again git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541103 13f79535-47bb-0310-9956-ffa450edef68 --- .../resources/META-INF/plexus/application.xml | 23 +++++++++++++++++++ .../src/main/resources/xwork.xml | 2 ++ 2 files changed, 25 insertions(+) diff --git a/archiva-web/archiva-webapp/src/main/resources/META-INF/plexus/application.xml b/archiva-web/archiva-webapp/src/main/resources/META-INF/plexus/application.xml index f4a3d1a5c..2c1320aef 100644 --- a/archiva-web/archiva-webapp/src/main/resources/META-INF/plexus/application.xml +++ b/archiva-web/archiva-webapp/src/main/resources/META-INF/plexus/application.xml @@ -210,6 +210,29 @@ org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager basic + + + + org.codehaus.plexus.redback.system.check.EnvironmentCheck + locked-admin-check + org.codehaus.plexus.redback.xwork.checks.security.LockedAdminEnvironmentCheck + LockedAdminEnvironmentCheck: checks if accounts marked as system administrator are locked +and unlocks them on startup. + + + org.codehaus.plexus.redback.users.UserManager + cached + userManager + + + org.codehaus.plexus.redback.rbac.RBACManager + cached + rbacManager + + + diff --git a/archiva-web/archiva-webapp/src/main/resources/xwork.xml b/archiva-web/archiva-webapp/src/main/resources/xwork.xml index d2aedda30..73cc1bfb5 100644 --- a/archiva-web/archiva-webapp/src/main/resources/xwork.xml +++ b/archiva-web/archiva-webapp/src/main/resources/xwork.xml @@ -36,10 +36,12 @@ + +