]> source.dussan.org Git - archiva.git/commitdiff
use a generic name to be able to override it using spring alias
authorOlivier Lamy <olamy@apache.org>
Fri, 4 Jan 2013 18:59:27 +0000 (18:59 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 4 Jan 2013 18:59:27 +0000 (18:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429032 13f79535-47bb-0310-9956-ffa450edef68

redback-integrations/redback-rest/redback-rest-services/src/test/resources/spring-context.xml
redback-system/src/main/java/org/apache/archiva/redback/system/DefaultSecuritySystem.java

index d5077f438fe6024f1840dcfb722b3d0fff31394b..d7e54fd7acdeb90710b86784dc003fe08924ba5d 100644 (file)
@@ -42,4 +42,6 @@
 
   <alias name="userConfiguration#redback" alias="userConfiguration#default"/>
 
+  <alias name="authorizer#rbac" alias="authorizer#default"/>
+
 </beans>
\ No newline at end of file
index 58171a8f4ef95d1d69ceba64ec9b9f23cc52612d..a4b615747d737b2747278248e112e985a46bed79 100644 (file)
@@ -57,7 +57,7 @@ public class DefaultSecuritySystem
     private AuthenticationManager authnManager;
 
     @Inject
-    @Named(value = "authorizer#rbac")
+    @Named(value = "authorizer#default")
     private Authorizer authorizer;
 
     @Inject