From 078b26ba3c9b29233e4e944f21ee12b064cdc7a5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 22 Jan 2013 16:36:08 +0000 Subject: [PATCH] do not add group as role git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437034 13f79535-47bb-0310-9956-ffa450edef68 --- .../redback/common/ldap/role/DefaultLdapRoleMapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java index 722ebcaf..db51f4cc 100644 --- a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java +++ b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java @@ -414,13 +414,13 @@ public class DefaultLdapRoleMapper roles.add( role ); } } - else + /*else { if ( this.useDefaultRoleName ) { roles.add( group ); } - } + }*/ } return new ArrayList( roles );