]> source.dussan.org Git - archiva.git/commitdiff
bad idea :-(
authorOlivier Lamy <olamy@apache.org>
Tue, 22 Jan 2013 14:41:34 +0000 (14:41 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 22 Jan 2013 14:41:34 +0000 (14:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436967 13f79535-47bb-0310-9956-ffa450edef68

redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java
redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/GuestUserEnvironmentCheck.java

index 1ee21b036c1066e0c0ec336d717c4f542d0b5264..ade7bee3b484a4a977052cb84384cacfe4c70433 100644 (file)
@@ -32,7 +32,7 @@ public interface UserConfigurationKeys
 
     String DEFAULT_GUEST = "redback.default.guest";
 
-    String DEFAULT_GUEST_ROLE = "redback.default.role.guest";
+    String DEFAULT_GUEST_ROLE_ID = "redback.default.role.guest.id";
 
     String EMAIL_FROM_ADDRESS = "email.from.address";
 
index 6c3e04e41a242b88b94fddc47f8da85ca29abb46..1d0052ac812be20c9e82ef99501513ee862683f4 100644 (file)
@@ -97,7 +97,7 @@ public class GuestUserEnvironmentCheck
 
                 try
                 {
-                    roleManager.assignRole( config.getString( UserConfigurationKeys.DEFAULT_GUEST_ROLE, "Guest" ),
+                    roleManager.assignRole( config.getString( UserConfigurationKeys.DEFAULT_GUEST_ROLE_ID, "guest" ),
                                             guest.getUsername() );
                 }
                 catch ( RoleManagerException rpe )