private boolean executeModifyOperation ( final Set < String > newConsent , final LdapEntry entry ) { val attrMap = new HashMap < String , Set < String > > ( ) ; attrMap . put ( this . ldap . getConsentAttributeName ( ) , newConsent ) ; LOGGER . debug ( "Storing consent decisions [{}] at LDAP attribute [{}] for [{}]" , newConsent , attrMap . keySet ( ) , entry . getDn ( ) ) ; return LdapUtils . executeModifyOperation ( entry . getDn ( ) , this . connectionFactory , CollectionUtils . wrap ( attrMap ) ) ; }
Modifies the consent decisions attribute on the entry .