diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2019-02-18 08:25:37 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2019-02-18 08:25:37 +0100 |
commit | 198954f9257a4ec9984ea8766e216b85733a8c0f (patch) | |
tree | 2a97f50dea5d1fce178305e6ae86fce5a3204503 /id/ConfigWebTool | |
parent | 087e317a0633eb761f2a9361c4a10a75680fc742 (diff) | |
download | moa-id-spss-198954f9257a4ec9984ea8766e216b85733a8c0f.tar.gz moa-id-spss-198954f9257a4ec9984ea8766e216b85733a8c0f.tar.bz2 moa-id-spss-198954f9257a4ec9984ea8766e216b85733a8c0f.zip |
use UTF-8 servlet-filter instead of encoding information
Diffstat (limited to 'id/ConfigWebTool')
6 files changed, 36 insertions, 26 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml index 4118c94f4..b94368ac6 100644 --- a/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml +++ b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml @@ -27,17 +27,6 @@ <param-value>^.*((/index.action.*)|(/error.action.*)|(/authenticate.action.*)|(/pvp2login.action.*)|(/mailAddressVerification.action.*)|(/logout.action)|(/jsp/.*)|(/css/.*)|(/servlet/.*)|(/images/.*)|(/js/.*))$</param-value> </init-param> </filter> - <filter-mapping> - <filter-name>AuthenicationFiler</filter-name> - <url-pattern>/*</url-pattern> - </filter-mapping> - - -<!-- - <filter> - <filter-name>sitemash</filter-name> - <filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class> - </filter> --> <filter> <filter-name>struts2</filter-name> @@ -105,21 +94,23 @@ <url-pattern>/servlet/sloBackChannel</url-pattern> </servlet-mapping> -<!-- <filter-mapping> - <filter-name>sitemash</filter-name> - <url-pattern>/*</url-pattern> - </filter-mapping> --> - + +<!-- Set filter order --> <filter-mapping> - <filter-name>struts2</filter-name> - <url-pattern>*.action</url-pattern> + <filter-name>AuthenicationFiler</filter-name> + <url-pattern>/*</url-pattern> </filter-mapping> - + <filter-mapping> <filter-name>EncodingFilter</filter-name> <url-pattern>/*</url-pattern> - </filter-mapping> - + </filter-mapping> + + <filter-mapping> + <filter-name>struts2</filter-name> + <url-pattern>*.action</url-pattern> + </filter-mapping> + <session-config> <session-timeout>45</session-timeout> </session-config> diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp index f77996670..79c66f37c 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp @@ -35,7 +35,7 @@ <s:if test="authUser.isAdmin()"> - <s:form namespace="/secure" method="POST" enctype="multipart/form-data;charset=UTF-8"> + <s:form namespace="/secure" method="POST" enctype="multipart/form-data"> <s:if test="moaconfig.isVirtualPublicURLPrefixEnabled()"> <s:textarea name="moaconfig.publicURLPrefix" diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp index 7dc745e62..cc4220d0e 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp @@ -38,7 +38,7 @@ <div id="list_area"> <h2><%=LanguageHelper.getGUIString("webpages.oaconfig.header", request) %></h2> - <s:form namespace="/secure" method="POST" enctype="multipart/form-data;charset=UTF-8"> + <s:form namespace="/secure" method="POST" enctype="multipart/form-data"> <s:include value="snippets/OA/generalInformation.jsp"></s:include> diff --git a/id/ConfigWebTool/src/main/webapp/jsp/edituser.jsp b/id/ConfigWebTool/src/main/webapp/jsp/edituser.jsp index 6aa5a2728..dffa7bd1b 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/edituser.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/edituser.jsp @@ -38,7 +38,7 @@ <div id="list_area"> - <s:form namespace="/secure" method="POST" enctype="multipart/form-data;charset=UTF-8"> + <s:form namespace="/secure" method="POST" enctype="multipart/form-data"> <jsp:include page="snippets/userfields.jsp"></jsp:include> <s:hidden name="formID" value="%{formID}"></s:hidden> diff --git a/id/ConfigWebTool/src/main/webapp/jsp/newUserRequest.jsp b/id/ConfigWebTool/src/main/webapp/jsp/newUserRequest.jsp index 2fe337758..934296b3a 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/newUserRequest.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/newUserRequest.jsp @@ -37,7 +37,7 @@ <div id="list_area"> - <s:form namespace="/" method="POST" enctype="multipart/form-data;charset=UTF-8"> + <s:form namespace="/" method="POST" enctype="multipart/form-data"> <jsp:include page="snippets/userfields.jsp"></jsp:include> <s:hidden name="formID" value="%{formID}"></s:hidden> diff --git a/id/ConfigWebTool/src/main/webapp/jsp/snippets/OA/targetConfiguration.jsp b/id/ConfigWebTool/src/main/webapp/jsp/snippets/OA/targetConfiguration.jsp index a61ce3053..367dc445d 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/snippets/OA/targetConfiguration.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/snippets/OA/targetConfiguration.jsp @@ -112,8 +112,17 @@ </div> </s:if> + <div id="oa_config_foreignbPKArea" class="oa_config_block"> - <h3><%=LanguageHelper.getGUIString("webpages.oaconfig.general.foreignbpk.header", request) %></h3> + <h3><%=LanguageHelper.getGUIString("webpages.oaconfig.general.neweid.header", request) %></h3> + + <s:checkbox name="targetConfig.eidDemoActive" + value="%{targetConfig.eidDemoActive}" + labelposition="left" + key="webpages.oaconfig.general.neweid.activate" + cssClass="checkbox"> + </s:checkbox> + <s:textarea name="targetConfig.foreignbPKTargets" value="%{targetConfig.foreignbPKTargets}" labelposition="left" @@ -123,6 +132,16 @@ requiredLabel="true" style="height:120px;"> </s:textarea> + + <s:textarea name="targetConfig.additionalbPKTargets" + value="%{targetConfig.additionalbPKTargets}" + labelposition="left" + key="webpages.oaconfig.general.additionalbpks.sectors" + cssClass="textfield_long" + rows="6" + requiredLabel="true" + style="height:120px;"> + </s:textarea> </div> |