Class ObjectValuePolicyEvaluator


  • public class ObjectValuePolicyEvaluator
    extends Object
    Evaluator that validates the value of any object property. The validation means a checks whether the value is a valid for that property. It usually applies to credentials such as passwords. But it can be used also for other properties. (We may need to move this class to the model-impl. User template will be probably needed for this.) This class is directly responsible for "meta" checking like minOccurs, minAge, history. Specific "string syntax" checks like length, number of special characters and so on are delegated to ValuePolicyProcessor. Methods for validation provided here have a bit unusual treating of OperationResult: they add their subresult to the parent result (as usual) but also return it to the caller.
    Author:
    semancik