archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1429032 - in /archiva/redback/redback-core/trunk: 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
Date Fri, 04 Jan 2013 18:59:27 GMT
Author: olamy
Date: Fri Jan  4 18:59:27 2013
New Revision: 1429032

URL: http://svn.apache.org/viewvc?rev=1429032&view=rev
Log:
use a generic name to be able to override it using spring alias

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

Modified: archiva/redback/redback-core/trunk/redback-integrations/redback-rest/redback-rest-services/src/test/resources/spring-context.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-rest/redback-rest-services/src/test/resources/spring-context.xml?rev=1429032&r1=1429031&r2=1429032&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-rest/redback-rest-services/src/test/resources/spring-context.xml
(original)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-rest/redback-rest-services/src/test/resources/spring-context.xml
Fri Jan  4 18:59:27 2013
@@ -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

Modified: archiva/redback/redback-core/trunk/redback-system/src/main/java/org/apache/archiva/redback/system/DefaultSecuritySystem.java
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-system/src/main/java/org/apache/archiva/redback/system/DefaultSecuritySystem.java?rev=1429032&r1=1429031&r2=1429032&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-system/src/main/java/org/apache/archiva/redback/system/DefaultSecuritySystem.java
(original)
+++ archiva/redback/redback-core/trunk/redback-system/src/main/java/org/apache/archiva/redback/system/DefaultSecuritySystem.java
Fri Jan  4 18:59:27 2013
@@ -57,7 +57,7 @@ public class DefaultSecuritySystem
     private AuthenticationManager authnManager;
 
     @Inject
-    @Named(value = "authorizer#rbac")
+    @Named(value = "authorizer#default")
     private Authorizer authorizer;
 
     @Inject



Mime
View raw message