guest role is Guest: ldap is case sensitive !
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26afe7802f
commit
86323ee147
|
@ -32,6 +32,8 @@ public interface UserConfigurationKeys
|
|||
|
||||
String DEFAULT_GUEST = "redback.default.guest";
|
||||
|
||||
String DEFAULT_GUEST_ROLE = "redback.default.role.guest";
|
||||
|
||||
String EMAIL_FROM_ADDRESS = "email.from.address";
|
||||
|
||||
String EMAIL_FROM_NAME = "email.from.name";
|
||||
|
|
|
@ -97,7 +97,7 @@ public class GuestUserEnvironmentCheck
|
|||
|
||||
try
|
||||
{
|
||||
roleManager.assignRole( config.getString( UserConfigurationKeys.DEFAULT_GUEST ),
|
||||
roleManager.assignRole( config.getString( UserConfigurationKeys.DEFAULT_GUEST_ROLE, "Guest" ),
|
||||
guest.getUsername() );
|
||||
}
|
||||
catch ( RoleManagerException rpe )
|
||||
|
|
Loading…
Reference in New Issue