Rich Web application input validation
First Claim
Patent Images
1. A method for validating a request to an application, the request having a data comprising the steps of:
- a) creating a validation engine comprising a validation logic, said validation logic comprising a rich validation rule, said rich validation rule using a plurality of ordered validation rule primitives (VRPs), said plurality of VRPs being selected from a group consisting of an acceptance VRP, a rejection VRP, and a combination thereof;
b) loading said rich validation rule;
c) applying said rich validation rule to the data, whereby the data is accepted if at least one of said acceptance VRPs succeeds and all of said rejection VRPs fail; and
d) sending the request to the application.
7 Assignments
0 Petitions
Accused Products
Abstract
Method and system to build rich input validation rules to address values not previously validated by type based rules or regular expressions available in current validation engines. These new validation rules have a rich set of ordered validation rule primitives (VRPs) with acceptance VRP or rejection VRP, thus the new validation rules have capabilities to handle complex data values. Also disclosed are method and system to build a validation rule applied to data elements defined using a Perl regular expression.
-
Citations
31 Claims
-
1. A method for validating a request to an application, the request having a data comprising the steps of:
-
a) creating a validation engine comprising a validation logic, said validation logic comprising a rich validation rule, said rich validation rule using a plurality of ordered validation rule primitives (VRPs), said plurality of VRPs being selected from a group consisting of an acceptance VRP, a rejection VRP, and a combination thereof;
b) loading said rich validation rule;
c) applying said rich validation rule to the data, whereby the data is accepted if at least one of said acceptance VRPs succeeds and all of said rejection VRPs fail; and
d) sending the request to the application. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
2. A method for validating a request to an application, the request having a data comprising the steps of:
-
a) creating a validation engine comprising a validation logic, said validation logic comprising a validation rule, said validation rule corresponding to a defined plurality of data elements;
b) loading said validation rule;
c) applying said validation rule to said data elements; and
d) sending said request to the application. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A storage medium readable by a computer encoding a computer program for execution by the computer to carry out a method for validating a request to an application, the computer program comprising:
-
a) code means for creating a validation engine comprising a validation logic, said validation logic comprising a rich validation rule, said rich validation rule using a plurality of ordered validation rule primitives (VRPs), said plurality of VRPs being selected from a group consisting of an acceptance VRP, a rejection VRP, and a combination thereof;
b) code means for loading said rich validation rule;
c) code means for applying said rich validation rule to the data, whereby the data is accepted if at least one of said acceptance VRPs succeeds and all of said rejection VRPs fail; and
d) code means for sending the request to the application. - View Dependent Claims (23, 24, 25, 26)
-
-
22. A storage medium readable by a computer encoding a computer program for execution by the computer to carry out a method for validating a request to an application, the computer program comprising:
-
a) code means for creating a validation engine comprising a validation logic, said validation logic comprising a validation rule, said validation rule corresponding to a defined plurality of data elements;
b) code means for loading said validation rule;
c) code means for applying said validation rule to the data; and
d) code means for sending said request to the application. - View Dependent Claims (27, 28, 29, 30, 31)
-
Specification