diff options
author | Olivier Lamy <olamy@apache.org> | 2013-01-22 14:41:34 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-01-22 14:41:34 +0000 |
commit | 50515a3dafbfc9100c6eb6d8a8c672349a4ad8d7 (patch) | |
tree | f94f9aeb132d7d4f6aa96a87f3fd5cefab9a2f67 | |
parent | 86323ee1474fc64b489bed6255a8f4705266555d (diff) | |
download | archiva-50515a3dafbfc9100c6eb6d8a8c672349a4ad8d7.tar.gz archiva-50515a3dafbfc9100c6eb6d8a8c672349a4ad8d7.zip |
bad idea :-(
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436967 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 2 insertions, 2 deletions
diff --git a/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java b/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java index 1ee21b036..ade7bee3b 100644 --- a/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java +++ b/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java @@ -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"; diff --git a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/GuestUserEnvironmentCheck.java b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/GuestUserEnvironmentCheck.java index 6c3e04e41..1d0052ac8 100644 --- a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/GuestUserEnvironmentCheck.java +++ b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/GuestUserEnvironmentCheck.java @@ -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 ) |