diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2019-06-12 16:17:07 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2019-06-12 16:17:07 +0200 |
commit | bd746b12f1abfba1e06d0a5bb016e0590c931f9e (patch) | |
tree | e9fc268b30ad555efda3f50e8b02074eb926e8c9 /id/server/moa-id-frontend-resources/src | |
parent | 54f5d0ba499454bdb3890b38f9a5af67175b8354 (diff) | |
download | moa-id-spss-bd746b12f1abfba1e06d0a5bb016e0590c931f9e.tar.gz moa-id-spss-bd746b12f1abfba1e06d0a5bb016e0590c931f9e.tar.bz2 moa-id-spss-bd746b12f1abfba1e06d0a5bb016e0590c931f9e.zip |
put deprecated pendingReqId to Velocity model
Diffstat (limited to 'id/server/moa-id-frontend-resources/src')
2 files changed, 3 insertions, 1 deletions
diff --git a/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/AbstractServiceProviderSpecificGUIFormBuilderConfiguration.java b/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/AbstractServiceProviderSpecificGUIFormBuilderConfiguration.java index 9c1ebe386..6645b24bc 100644 --- a/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/AbstractServiceProviderSpecificGUIFormBuilderConfiguration.java +++ b/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/AbstractServiceProviderSpecificGUIFormBuilderConfiguration.java @@ -136,7 +136,8 @@ public abstract class AbstractServiceProviderSpecificGUIFormBuilderConfiguration if (pendingReq != null) { setViewParameter(null, PARAM_PENDINGREQUESTID, StringEscapeUtils.escapeHtml(pendingReq.getPendingRequestId())); - + setViewParameter(null, PARAM_PENDINGREQUESTID_DEPRECATED, StringEscapeUtils.escapeHtml(pendingReq.getPendingRequestId())); + //add service-provider specific GUI parameters IOAAuthParameters oaParam = pendingReq.getServiceProviderConfiguration(IOAAuthParameters.class); if (oaParam != null) { diff --git a/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/DefaultGUIFormBuilderConfiguration.java b/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/DefaultGUIFormBuilderConfiguration.java index ff434948d..7965f3c85 100644 --- a/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/DefaultGUIFormBuilderConfiguration.java +++ b/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/builder/DefaultGUIFormBuilderConfiguration.java @@ -104,6 +104,7 @@ public class DefaultGUIFormBuilderConfiguration extends AbstractGUIFormBuilderCo public void putSpecificViewParameters() { if (pendingReq != null) { setViewParameter(null, PARAM_PENDINGREQUESTID, StringEscapeUtils.escapeHtml(pendingReq.getPendingRequestId())); + setViewParameter(null, PARAM_PENDINGREQUESTID_DEPRECATED, StringEscapeUtils.escapeHtml(pendingReq.getPendingRequestId())); } //add additional custom parameters |