Skip to content

Commit bbadee6

Browse files
authored
SecurityAPI repository migration. (#863)
* SecurityAPI repository migration. * Add tests and test resources * First commit, GeneXusJWT module + some tests and test resources * Trying to fix remote test failures * Debug remote tests * Delete unused package * Fix key's path * Print error * Change test organization * Debug github test failure * Delete test and debug information * Delete unused test resources * Add JWT tests * Debug failing test * Set timezone for UnixTimeStampCreator to GMT * Put tests on separate jar * Delete test debug information * GeneXusCryptography sources commit * Add hash tests * Add MAC tests * Add password derivation tests * Add symmetric encryption tests * Test temporary folder and add file encryption tests * Add missing test resource * Add tests and test resources for ECDSA cryptography * Add asymmetric and checksum tests and resources * Fix test failures * Add Checksum test * Debug test * Fix test * Checksum file test, resource issue * Debug remote test * Fix checksum failing tests * Add signature standard tests * Debug remote failing test * Get remote exception stacktrace * Delete ECDSA test for standard signature * XMlSignature complete module. Update commons-codec to version 1.13 and java-jwt to version 4.4.0. * Bump commons-codec to version 1.15 and java-jwt to version 4.4.0 * XmlSignature tests and resources * GeneXusSFTP module sources * GeneXusFTPS module sources * Housekeeping, using property to define bouncy castle version * Add new modules to readme file * New feature, load first certificate or public key from keystore * New feature, import public key from jkws * Fix quality issues, upgrade tests to JUnit 4 and add tests
1 parent fdaefe9 commit bbadee6

File tree

279 files changed

+17793
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

279 files changed

+17793
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ These are the source of the GeneXus Standard Classes for Java, valid since GeneX
2525
| gxexternalproviders | Implements service provider for IBM Cloud, Google, Azure, Amazon
2626
| gxgeospatial | Geography data type implementation
2727
| gxodata | OData access
28+
| securityapicommons | SecurityAPI's common module
29+
| gxcryptography | SecurityAPI's GeneXusCryptography module
30+
| gxjwt | SecurityAPI's GeneXusJWT module
31+
| gxxmlsignature | SecurityAPI's GeneXusXmlSignature module
32+
| gxftps | SecurityAPI's GeneXusFTPS module
33+
| gxsftp | SecurityAPI's GeneXusSFTP module
2834

2935
The dependencies between the projects are specified in each pom.xml within their directory.
3036

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<dependency>
4444
<groupId>org.bouncycastle</groupId>
4545
<artifactId>bcprov-jdk18on</artifactId>
46-
<version>1.78.1</version>
46+
<version>${org.bouncycastle.version}</version>
4747
</dependency>
4848
<dependency>
4949
<groupId>io.opentelemetry</groupId>

gxcryptocommon/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>org.bouncycastle</groupId>
2424
<artifactId>bcpkix-jdk18on</artifactId>
25-
<version>1.78.1</version>
25+
<version>${org.bouncycastle.version}</version>
2626
</dependency>
2727
<dependency>
2828
<groupId>org.apache.santuario</groupId>

gxcryptography/pom.xml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>com.genexus</groupId>
8+
<artifactId>parent</artifactId>
9+
<version>${revision}${changelist}</version>
10+
</parent>
11+
12+
<artifactId>gxcryptography</artifactId>
13+
<name>GeneXus Cryptography</name>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.bouncycastle</groupId>
18+
<artifactId>bcpkix-jdk18on</artifactId>
19+
<version>${org.bouncycastle.version}</version>
20+
</dependency>
21+
<dependency>
22+
<groupId>org.bouncycastle</groupId>
23+
<artifactId>bcprov-jdk18on</artifactId>
24+
<version>${org.bouncycastle.version}</version>
25+
</dependency>
26+
<dependency>
27+
<groupId>org.apache.logging.log4j</groupId>
28+
<artifactId>log4j-core</artifactId>
29+
<version>${log4j.version}</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>${project.groupId}</groupId>
33+
<artifactId>securityapicommons</artifactId>
34+
<version>${project.version}</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>${project.groupId}</groupId>
38+
<artifactId>securityapicommons</artifactId>
39+
<type>test-jar</type>
40+
<version>${revision}${changelist}</version>
41+
<scope>test</scope>
42+
</dependency>
43+
</dependencies>
44+
<build>
45+
<finalName>GeneXusCryptography</finalName>
46+
<plugins>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-compiler-plugin</artifactId>
50+
<version>3.8.0</version>
51+
<configuration>
52+
<source>1.8</source>
53+
<target>1.8</target>
54+
</configuration>
55+
</plugin>
56+
<plugin>
57+
<groupId>org.apache.maven.plugins</groupId>
58+
<artifactId>maven-jar-plugin</artifactId>
59+
<version>3.1.1</version>
60+
<executions>
61+
<execution>
62+
<goals>
63+
<goal>test-jar</goal>
64+
</goals>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
</plugins>
69+
</build>
70+
71+
</project>

0 commit comments

Comments
 (0)