Fixing some missing JPA entities' validation master
authorFrancesco Chicchiriccò <ilgrosso@apache.org>
Fri, 19 Oct 2018 11:26:52 +0000 (13:26 +0200)
committerFrancesco Chicchiriccò <ilgrosso@apache.org>
Mon, 22 Oct 2018 07:02:08 +0000 (09:02 +0200)
commit36fb466afd64894170fa5e2e030ce6895120b1af
treeabbe6920f29b0f739eee38a767b885dbb4d48398
parent30286d96515deb9a03c551d37129f9584ac31793
Fixing some missing JPA entities' validation
18 files changed:
client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/UserSelfCreateResource.java
client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/UserSelfUpdateResource.java
client/enduser/src/main/java/org/apache/syncope/client/enduser/util/SaltGenerator.java
client/enduser/src/main/java/org/apache/syncope/client/enduser/util/Validation.java [moved from client/enduser/src/main/java/org/apache/syncope/client/enduser/util/UserRequestValidator.java with 92% similarity]
client/enduser/src/test/java/org/apache/syncope/client/enduser/util/ValidationTest.java [moved from client/enduser/src/test/java/org/apache/syncope/client/enduser/util/UserRequestValidatorTest.java with 72% similarity]
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/policy/AbstractPolicy.java
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/AbstractValidator.java
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/AnyTypeClassCheck.java [new file with mode: 0644]
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/AnyTypeClassValidator.java [new file with mode: 0644]
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/AnyTypeValidator.java
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/ConnInstanceValidator.java
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/PolicyCheck.java [new file with mode: 0644]
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/PolicyValidator.java [new file with mode: 0644]
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/RealmValidator.java
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/RelationshipTypeValidator.java
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/ReportValidator.java
ext/oidcclient/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/OIDCProviderValidator.java
ext/saml2sp/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/validation/entity/SAML2IdPValidator.java