Re: [rampart] PolicyBasedResultsValidator

2007-07-11 Thread Ruchith Fernando
Yes ... this certainly can be improved to check whether we actually received the parts that we expected or not! Thanks, Ruchith On 6/28/07, Angel Todorov [EMAIL PROTECTED] wrote: Hi all, I've found this piece of code in the RampartPolicyBasedResultsValidator.java: int refCount = 0;

[rampart] PolicyBasedResultsValidator

2007-06-28 Thread Angel Todorov
Hi all, I've found this piece of code in the RampartPolicyBasedResultsValidator.java : int refCount = 0; refCount += encryptedParts.size(); if(encrRefs.size() != refCount) { throw new RampartException(invalidNumberOfEncryptedParts, new