summaryrefslogtreecommitdiffstats
path: root/auth/auth-gui
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-gui')
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java4
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java4
2 files changed, 6 insertions, 2 deletions
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java
index d55047a3..8492b85f 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java
@@ -132,8 +132,10 @@ public class AAF_GUI extends AbsService<AuthzEnv, AuthzTrans> implements State<E
env.put(sThemeWebPath,"theme");
}
+
slotHttpServletRequest = env.slot(HTTP_SERVLET_REQUEST);
- deployedVersion = app_version;
+ deployedVersion = appVersion;
+
// Certificate Manager
String aafUrlCm = env.getProperty(Config.AAF_URL_CM,Config.AAF_URL_CM_DEF);
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java
index 51909319..f0d2b071 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java
@@ -89,6 +89,7 @@ public class Display {
} else {
// Transfer whether Page shouldn't be cached to local Final var.
+
final boolean noCache = page.noCache;
gui.route(gui.env, meth, page.url(),
@@ -139,7 +140,8 @@ public class Display {
}
@Override
- public boolean no_cache() {
+ public boolean noCache() {
+
return noCache;
}
}, "text/html","*/*");