bad idea :-(

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-22 14:41:34 +00:00
parent 86323ee147
commit 50515a3daf
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public interface UserConfigurationKeys
String DEFAULT_GUEST = "redback.default.guest"; 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"; String EMAIL_FROM_ADDRESS = "email.from.address";

View File

@ -97,7 +97,7 @@ public void validateEnvironment( List<String> violations )
try try
{ {
roleManager.assignRole( config.getString( UserConfigurationKeys.DEFAULT_GUEST_ROLE, "Guest" ), roleManager.assignRole( config.getString( UserConfigurationKeys.DEFAULT_GUEST_ROLE_ID, "guest" ),
guest.getUsername() ); guest.getUsername() );
} }
catch ( RoleManagerException rpe ) catch ( RoleManagerException rpe )