Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cdf2ddae
authored
Apr 27, 2014
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update terminal web properties
1 parent
17f9617d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
100 deletions
code/MoyaTerminalWeb/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
code/MoyaTerminalWeb/.settings/org.eclipse.wst.common.project.facet.core.xml
code/MoyaTerminalWeb/WebContent/WEB-INF/web.xml
code/MoyaTerminalWeb/pom.xml
code/MoyaTerminalWeb/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
View file @
cdf2dda
<root>
<facet
id=
"jst.jsf"
>
<node
name=
"libprov"
>
<attribute
name=
"provider-id"
value=
"
jsf-no-op-library-provider
"
/>
<attribute
name=
"provider-id"
value=
"
GlassFish-4-SystemLibrary-JSF
"
/>
</node>
</facet>
<facet
id=
"jst.jaxrs"
>
...
...
code/MoyaTerminalWeb/.settings/org.eclipse.wst.common.project.facet.core.xml
View file @
cdf2dda
...
...
@@ -2,11 +2,9 @@
<faceted-project>
<runtime
name=
"GlassFish 4.0"
/>
<fixed
facet=
"wst.jsdt.web"
/>
<fixed
facet=
"jst.web"
/>
<fixed
facet=
"java"
/>
<installed
facet=
"jst.web"
version=
"3.0"
/>
<installed
facet=
"wst.jsdt.web"
version=
"1.0"
/>
<installed
facet=
"java"
version=
"1.7"
/>
<installed
facet=
"jst.jsf"
version=
"2.0"
/>
<installed
facet=
"jst.jsf"
version=
"2.2"
/>
<installed
facet=
"jst.web"
version=
"3.1"
/>
<installed
facet=
"jst.jaxrs"
version=
"2.0"
/>
</faceted-project>
code/MoyaTerminalWeb/WebContent/WEB-INF/web.xml
View file @
cdf2dda
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id=
"WebApp_ID"
version=
"3.0"
>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xmlns:web=
"http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version=
"3.1"
>
<display-name>
MoyaTerminalWeb
</display-name>
<context-param>
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.jsf
</welcome-file>
</welcome-file-list>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
...
...
@@ -19,12 +19,10 @@
<servlet-class>
javax.faces.webapp.FacesServlet
</servlet-class>
<load-on-startup>
1
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
Faces Servlet
</servlet-name>
<url-pattern>
*.jsf
</url-pattern>
</servlet-mapping>
<context-param>
<param-name>
javax.faces.PROJECT_STAGE
</param-name>
<param-value>
Development
</param-value>
...
...
@@ -33,74 +31,50 @@
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<!--
<filter>
<display-name>PrimefacesFileupload</display-name>
<filter-name>PrimefacesFileupload</filter-name>
<filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>PrimefacesFileupload</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
-->
<login-config>
<auth-method>
CLIENT-CERT
</auth-method>
<realm-name>
certificate
</realm-name>
</login-config>
<security-constraint>
<display-name>
Forbidden resource
</display-name>
<web-resource-collection>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
*.xhtml
</url-pattern>
<url-pattern>
/layout/*
</url-pattern>
<url-pattern>
/resources/tools/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>
Thou shall not read the sources or use utils directly
</description>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
<security-constraint>
<display-name>
Resource that needs cert auth
</display-name>
<display-name>
Forbidden resource
</display-name>
<web-resource-collection>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
/info/*
</url-pattern>
<url-pattern>
*.xhtml
</url-pattern>
<url-pattern>
/layout/*
</url-pattern>
<url-pattern>
/resources/tools/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>
TERMINAL/INFO
</role-name>
<description>
Thou shall not read the sources or use utils directly
</description>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
<!--
<security-constraint>
<display-name>
Resource that needs cert auth
</display-name>
<web-resource-collection>
<web-resource-name>BortalTerminalWebResource</web-resource-name>
<url-pattern>/faces/*</url-pattern>
<url-pattern>*.jsf</url-pattern>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
/info/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>TERMINAL</role-name>
<role-name>
TERMINAL
/INFO
</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint> -->
</security-constraint>
<persistence-unit-ref>
<persistence-unit-ref-name>
BortalEMF
</persistence-unit-ref-name>
</persistence-unit-ref>
<servlet>
<description>
JAX-RS Tools Generated - Do not modify
</description>
<servlet-name>
JAX-RS Servlet
</servlet-name>
<servlet-class></servlet-class>
<load-on-startup>
1
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
JAX-RS Servlet
</servlet-name>
<url-pattern>
/jaxrs/*
</url-pattern>
</servlet-mapping>
</web-app>
\ No newline at end of file
code/MoyaTerminalWeb/pom.xml
View file @
cdf2dda
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-terminal-web
</artifactId>
<version>
0.2.0
</version>
<packaging>
war
</packaging>
<build>
<sourceDirectory>
src
</sourceDirectory>
<resources>
<resource>
<directory>
src
</directory>
<excludes>
<exclude>
**/*.java
</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source>
1.7
</source>
<target>
1.7
</target>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.3
</version>
<configuration>
<warSourceDirectory>
WebContent
</warSourceDirectory>
<failOnMissingWebXml>
false
</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-beans-client
</artifactId>
<version>
0.2.0
</version>
</dependency>
<dependency>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-terminal-web
</artifactId>
<version>
0.2.0
</version>
<packaging>
war
</packaging>
<build>
<sourceDirectory>
src
</sourceDirectory>
<resources>
<resource>
<directory>
src
</directory>
<excludes>
<exclude>
**/*.java
</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source>
1.7
</source>
<target>
1.7
</target>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.4
</version>
<configuration>
<warSourceDirectory>
WebContent
</warSourceDirectory>
<failOnMissingWebXml>
false
</failOnMissingWebXml>
<packagingIncludes>
WEB-INF/lib/javamelody-core*,WEB-INF/lib/primefaces*,**/*.xml,**/*.xhtml,**/*.properties,**/*.class,**/*.png,**/*.css,**/*.js,resources/*
</packagingIncludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-beans-client
</artifactId>
<version>
0.2.0
</version>
</dependency>
<dependency>
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
<version>
1.3
</version>
...
...
@@ -49,5 +51,10 @@
<artifactId>
primefaces
</artifactId>
<version>
4.0
</version>
</dependency>
</dependencies>
<dependency>
<groupId>
net.bull.javamelody
</groupId>
<artifactId>
javamelody-core
</artifactId>
<version>
1.46.0
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment