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:
parent
86323ee147
commit
50515a3daf
@ -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";
|
||||
|
||||
|
@ -97,7 +97,7 @@ public void validateEnvironment( List<String> violations )
|
||||
|
||||
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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user