Skip to content

javax.validation.constraint implementation for a input sanitizer

License

Notifications You must be signed in to change notification settings

0xfcmartins/jsanitize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers Issues MIT License

Java Sanitizer

Library that implements a javax.validation abstraction and has its own custom javax.validation.Constraint to simplify an API requests integrity validation.

Installation

Using the maven dependency plugin add the next block to the module pom.xml:

Maven dependency

<dependency>
    <groupId>pt.fcmartins</groupId>
    <artifactId>sanitizer</artifactId>
    <version>0.000.001</version>
    <scope>provided</scope>
</dependency>

Wildfly module

  • Directory : \modules\pt\fcmartins\sanitizer\main

  • Module configuration:

    <?xml version="1.0" encoding="UTF-8"?>
    <module xmlns="urn:jboss:module:1.1" name="pt.fcmartins.sanitizer">
        <resources>
            <resource-root path="sanitizer-{version}.jar" />
        </resources>
        <dependencies>
            <module name="javaee.api" />
        </dependencies>
    </module>

Authors

License

Distributed under the MIT License. See LICENSE for more information.

About

javax.validation.constraint implementation for a input sanitizer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages