DocumentCode
2531838
Title
The SHIP Validator: An Annotation-Based Content-Validation Framework for Java Applications
Author
Mancini, Federico ; Hovland, Dag ; Mughal, Khalid A.
Author_Institution
Dept. of Inf., Univ. of Bergen, Bergen, Norway
fYear
2010
fDate
9-15 May 2010
Firstpage
122
Lastpage
128
Abstract
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.
Keywords
Java; XML; formal specification; formal verification; security of data; Java applications; SHIP validator; XML configuration files; annotation-based content-validation; software security; Application software; Databases; Informatics; Java; Logic testing; Marine vehicles; Runtime; Security; Web and internet services; XML; annotations; content-validation; java; validation;
fLanguage
English
Publisher
ieee
Conference_Titel
Internet and Web Applications and Services (ICIW), 2010 Fifth International Conference on
Conference_Location
Barcelona
Print_ISBN
978-1-4244-6728-0
Type
conf
DOI
10.1109/ICIW.2010.26
Filename
5476782
Link To Document