From: Olivier Lamy Date: Tue, 22 Jan 2013 16:36:08 +0000 (+0000) Subject: do not add group as role X-Git-Tag: redback-2.1~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=078b26ba3c9b29233e4e944f21ee12b064cdc7a5;p=archiva.git 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 --- 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 722ebcaff..db51f4ccf 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 );