The SHIP Validator: An Annotation-based Content-Validation Framework for Java Applications
Chapter, Peer reviewed
Published version
View/ Open
Date
2010Metadata
Show full item recordCollections
Original version
In: Bellot, G. O.; Sasaki, H.; Ehmann, M.; Dini, C., 2010 Fifth International Conference on Internet and Web Applications and Services: 122-128 https://doi.org/10.1109/iciw.2010.26Abstract
In this paper, we investigate the use of Java annotations for software security purposes. In particular, we implement a framework for content validation where the validation tests are specified by annotations. This approach allows to tag what properties to validate directly in the application code and eliminates the need for external XML configuration files. Furthermore, the testing code is still kept separate from the application code, hence facilitating the creation and reuse of custom tests. The main novelty of this framework consists in the possibility of defining tests for the validation of multiple and interdependent properties. The flexibility and reusability of tests are also improved by allowing composition and boolean expressions. The main result of the paper is a flexible framework for content-validation based on Java annotations.
Description
ICIW 2010, 9-15 May 2010, Barcelona, Spain