From 99694b29f82f858f5b6163e6a3d6c11caaeb487e Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 26 Jul 2013 17:07:15 +0200 Subject: Configuration Web-Application --- .../src/main/webapp/WEB-INF/log4j.properties | 20 ++++++ id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml | 83 ++++++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties create mode 100644 id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml (limited to 'id/ConfigWebTool/src/main/webapp/WEB-INF') diff --git a/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties b/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties new file mode 100644 index 000000000..3ca86f404 --- /dev/null +++ b/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties @@ -0,0 +1,20 @@ +# Set root category priority to INFO and its only appender to CONSOLE. +log4j.rootCategory=INFO, CONSOLE +#log4j.rootCategory=INFO, CONSOLE, LOGFILE + +# Set the enterprise logger category to FATAL and its only appender to CONSOLE. +log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE + +# CONSOLE is set to be a ConsoleAppender using a PatternLayout. +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.Threshold=INFO +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=axis.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.Threshold=INFO +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n diff --git a/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..c680c875e --- /dev/null +++ b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,83 @@ + + + DemoAppMandates + + + + AuthenicationFiler + at.gv.egovernment.moa.id.configuration.filter.AuthenticationFilter + + loginPage + index.action + + + errorPage + error.action + + + sessionLostPage + / + + + authenticatedPage + main.action + + + allowed + ^.*((/index.action)|(/error.action)|(/jsp/.*)|(/css/.*)|(/images/.*)|(/js/.*))$ + + + + AuthenicationFiler + /* + + + + + + + struts2 + org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter + + + + + + + + struts2 + *.action + + + + + + + /index.action + + -- cgit v1.2.3