Skip to content

Commit dada9a2

Browse files
iroquetaggallotticlaudiamurialdosgrampone
authored
Extract WebFrontEnd dependencies from Core GXClassR Module. (#661)
* Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Remove gxandroidpublisher module Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Create a new module called gxweb containing classes from Frontend. Previously this clases were in gxclassR module. Move old Crypto data type classes to gxcryptocommon module and remove reference to gxcryptocommon from gxclassR. Issue: 101136 * Fix broken issue#101506, missing bouncy castle at reorg. --------- Co-authored-by: Gonzalo <[email protected]> Co-authored-by: claudiamurialdo <[email protected]> Co-authored-by: ARTECH\sgrampone <[email protected]>
1 parent 5c423f4 commit dada9a2

File tree

90 files changed

+308
-1744
lines changed

Some content is hidden

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

90 files changed

+308
-1744
lines changed

common/src/main/java/com/genexus/CommonUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public final class CommonUtil
3636
static TimeZone originalTimeZone;
3737
public static IThreadLocal threadCalendar;
3838

39+
public static String SECURITY_HASH_ALGORITHM = "SHA-256";
3940
public static final String [][] ENCODING_JAVA_IANA;
4041
private static Random random;
4142
private static Date nullDate;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.genexus.common.interfaces;
2+
3+
import json.org.json.JSONArray;
4+
5+
public interface IGXWebGrid {
6+
Object GetJSONObject();
7+
JSONArray GetValues();
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.genexus.common.interfaces;
2+
3+
public interface IGXWebRow {
4+
IGXWebGrid getParentGrid();
5+
void AddHidden(String name, Object value);
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.genexus.common.interfaces;
2+
3+
public interface IGXWindow {
4+
Object GetJSONObject();
5+
void setUrl(String url);
6+
void setReturnParms(Object[] retParms);
7+
String getUrl();
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.genexus.common.interfaces;
2+
3+
public interface IGxEjbContext {
4+
String getUserId();
5+
void setRollback();
6+
}

gxcryptocommon/src/main/java/com/genexus/cryptography/Constants.java renamed to common/src/main/java/com/genexus/cryptography/Constants.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.genexus.cryptography;
22

3-
import com.genexus.cryptography.GXSigning.PKCSStandard;
3+
import com.genexus.CommonUtil;
4+
import com.genexus.cryptography.Utils.PKCSStandard;
45

56
public class Constants {
67
public static final String UNICODE = "UTF-8";
@@ -12,7 +13,7 @@ public class Constants {
1213

1314
/* HASHING CONSTANTS */
1415
public static String DEFAULT_HASH_ALGORITHM = "SHA-256";
15-
public static String SECURITY_HASH_ALGORITHM = "SHA-256";
16+
public static String SECURITY_HASH_ALGORITHM = CommonUtil.SECURITY_HASH_ALGORITHM;
1617

1718

1819
/* SIGN Constants */

gxcryptocommon/src/main/java/com/genexus/cryptography/Utils.java renamed to common/src/main/java/com/genexus/cryptography/Utils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,9 @@ public static String toHexString(byte[] byteData){
100100
return sb.toString();
101101
}
102102

103+
public enum PKCSStandard {
104+
PKCS1, PKCS7
105+
};
106+
103107

104108
}

0 commit comments

Comments
 (0)