Fixed issue with syntax for filter

This commit is contained in:
Mat Jaggard 2015-10-23 13:35:31 +01:00
parent e546fe3bc0
commit ae4d7f775e
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class DefaultLdapRoleMapper
if ( !StringUtils.isEmpty( this.groupFilter ) )
{
filter = "&(" + filter + ")(" + this.groupFilter + ")";
filter = "(&(" + filter + ")(" + this.groupFilter + "))";
}
namingEnumeration = context.search( getGroupsDn(), filter, searchControls );