Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes deegree web admin console showing stack trace in case of session timeout #1032

Merged
merged 1 commit into from
Dec 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">

<name>goawayeclipsebug</name>
<name>deegree services console UI</name>

<application>
<locale-config>
Expand Down Expand Up @@ -55,6 +55,10 @@
<from-outcome>failed</from-outcome>
<to-view-id>/console/jsf/logInFailed.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>home</from-outcome>
<to-view-id>/index.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<!-- PhaseListener -->
<lifecycle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
<role-name>deegree</role-name>
</security-role>


<!-- http basic auth enable -->
<!-- Define a security constraint on this application -->
<!-- User and role must be added to tomcat-users.xml -->
Expand All @@ -105,9 +104,9 @@
role that is required to log in to the Manager Application</description> <role-name>demoadmin</role-name> </security-role> -->
<!-- end -->

<!-- error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.xhtml</location>
</error-page-->
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/index.jsf</location>
</error-page>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,24 @@
<ul>
<li>workspaces: Download and activate example configurations</li>
<li>proxy: Configure proxy settings</li>
<li>password: Set a password to restrict access to the deegree service console <b style="color:Red;">(IMPORTANT!)</b></li>
<li>module info: Display loaded deegree modules</li>
<li>send requests: Send raw XML requests</li>
<li>see layers: Display WMS layers</li>
</ul>
<h:outputText value="The lower menu on the left configures the active workspace:" />
<ul>
<li>web services: Configure offered OGC web services</li>
<li>web services: Configure OGC web services</li>
<li>data stores: Configure access to data sources</li>
<li>map layers: Configure map layers and styles</li>
<li>server connections: Configure connections to external servers</li>
<li>connections: Configure connections to databases and external servers</li>
<li>processes: Configure geospatial WPS processes</li>
</ul>
</h:panelGroup>
<br />
<h:panelGroup styleClass="welcomeText">
<h:outputText value="For more information, please refer to the " />
<h:outputLink styleClass="welcomeLink" value="http://www.deegree.org/Documentation">
<h:outputLink styleClass="welcomeLink" value="https://www.deegree.org/documentation">
<h:outputText value="official documentation" />
</h:outputLink>
<h:outputText value="." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</h:panelGroup>
</h:panelGroup>
<h:panelGroup id="logo" layout="block">
<h:graphicImage name="images/logo.png" />
<h:graphicImage name="images/logo.png" alt="deegree logo"/>
</h:panelGroup>
<h:panelGroup id="login">
<ui:include src="/console/security/login.xhtml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions"
xmlns:dg="http://deegree.org/jsf" xmlns:dgc="http://java.sun.com/jsf/composite/deegree">
<h:panelGroup layout="block">
<h:link styleClass="menutopic" value="Home" outcome="home"/><br/><br/>
<h:outputText styleClass="menutopic" value="general" />
</h:panelGroup>
<h:panelGroup rendered="#{logBean.loggedIn}" layout="block">
Expand All @@ -17,7 +18,7 @@
</h:panelGroup>
<h:panelGroup rendered="#{logBean.loggedIn}">
<h:panelGroup layout="block">
<h:outputText styleClass="menutopic" value="webservices" />
<h:outputText styleClass="menutopic" value="web services" />
</h:panelGroup>
<h:panelGroup layout="block">
<dgc:menuitem displayname="services" target="/console/webservices/index" hasErrors="#{servicesBean.hasErrors}" />
Expand Down