// policy state, then apply them now.
List<Modification> stateMods = pwpState.getModifications();
if ((stateMods != null) && (! stateMods.isEmpty()))
{
ModifyOperation modifyOperation =
conn.processModify(targetDN, stateMods);
if (modifyOperation.getResultCode() != ResultCode.SUCCESS)
{
operation.setResultCode(modifyOperation.getResultCode());
operation.setErrorMessage(modifyOperation.getErrorMessage());
operation.setMatchedDN(modifyOperation.getMatchedDN());