|
@@ -72,6 +72,7 @@ class LdapUserDNTypeHelper implements PermissionTypeHelper
|
|
return SearchConfiguration.builder()
|
|
return SearchConfiguration.builder()
|
|
.username( "*" )
|
|
.username( "*" )
|
|
.enableContextValidation( false )
|
|
.enableContextValidation( false )
|
|
|
|
+ .enableValueEscaping( false )
|
|
.ldapProfile( UserPermissionUtility.profileIdForPermission( userPermission ) )
|
|
.ldapProfile( UserPermissionUtility.profileIdForPermission( userPermission ) )
|
|
.contexts( Collections.singletonList( userPermission.getLdapBase() ) )
|
|
.contexts( Collections.singletonList( userPermission.getLdapBase() ) )
|
|
.searchScope( SearchConfiguration.SearchScope.base )
|
|
.searchScope( SearchConfiguration.SearchScope.base )
|