From d66e178462f8973d77e509ea40263ea1e45d8373 Mon Sep 17 00:00:00 2001 From: cmurialdo Date: Fri, 7 Jun 2019 14:08:27 -0300 Subject: [PATCH] Added dummy entry point for STS GAM to be used when GAM is disabled. --- .../agamstsauthappgetaccesstokenDummy.java | 27 +++++++++++++++++++ .../agamstsauthappvalidaccesstokenDummy.java | 27 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 java/src/main/java/com/genexus/webpanels/agamstsauthappgetaccesstokenDummy.java create mode 100644 java/src/main/java/com/genexus/webpanels/agamstsauthappvalidaccesstokenDummy.java diff --git a/java/src/main/java/com/genexus/webpanels/agamstsauthappgetaccesstokenDummy.java b/java/src/main/java/com/genexus/webpanels/agamstsauthappgetaccesstokenDummy.java new file mode 100644 index 000000000..e7fb55599 --- /dev/null +++ b/java/src/main/java/com/genexus/webpanels/agamstsauthappgetaccesstokenDummy.java @@ -0,0 +1,27 @@ +package com.genexus.webpanels; +import com.genexus.internet.HttpContext; + +public class agamstsauthappgetaccesstokenDummy extends GXWebObjectStub +{ + protected void doExecute(HttpContext context) throws Exception + { + } + protected boolean IntegratedSecurityEnabled( ) + { + return false; + } + + protected int IntegratedSecurityLevel( ) + { + return 0; + } + + protected String IntegratedSecurityPermissionPrefix( ) + { + return ""; + } + + protected void init(HttpContext context ) + { + } +} diff --git a/java/src/main/java/com/genexus/webpanels/agamstsauthappvalidaccesstokenDummy.java b/java/src/main/java/com/genexus/webpanels/agamstsauthappvalidaccesstokenDummy.java new file mode 100644 index 000000000..66b74a030 --- /dev/null +++ b/java/src/main/java/com/genexus/webpanels/agamstsauthappvalidaccesstokenDummy.java @@ -0,0 +1,27 @@ +package com.genexus.webpanels; +import com.genexus.internet.HttpContext; + +public class agamstsauthappvalidaccesstokenDummy extends GXWebObjectStub +{ + protected void doExecute(HttpContext context) throws Exception + { + } + protected boolean IntegratedSecurityEnabled( ) + { + return false; + } + + protected int IntegratedSecurityLevel( ) + { + return 0; + } + + protected String IntegratedSecurityPermissionPrefix( ) + { + return ""; + } + + protected void init(HttpContext context ) + { + } +}