org.apache.rampart
Interface ExtendedPolicyValidatorCallbackHandler
- All Superinterfaces:
- PolicyValidatorCallbackHandler
- All Known Implementing Classes:
- PolicyBasedResultsValidator
public interface ExtendedPolicyValidatorCallbackHandler
- extends PolicyValidatorCallbackHandler
This is an extension of the PolicyValidatorCallbackHandler. PolicyValidatorCallbackHandler uses Vector
to pass processing results. But Lists are better than Vectors as its performance is better. Therefore we
introduce a new method in ExtendedPolicyValidatorCallbackHandler. Since we do not want to change the original
interface (as it might cause existing users to change their code) we are introducing a new interface.
Method Summary |
void |
validate(ValidatorData data,
java.util.List<org.apache.ws.security.WSSecurityEngineResult> results)
Validate policy based results. |
validate
void validate(ValidatorData data,
java.util.List<org.apache.ws.security.WSSecurityEngineResult> results)
throws RampartException
- Validate policy based results.
- Parameters:
data
- validator dataresults
- policy based ws-security results
- Throws:
RampartException
- Rampart exception