made context root configurable

This commit is contained in:
2019-08-28 07:53:05 +02:00
parent eb3bf3b71a
commit 0cbab859f8
5 changed files with 11 additions and 1 deletions

View File

@ -124,6 +124,7 @@
<filtering>true</filtering> <filtering>true</filtering>
<includes> <includes>
<include>WEB-INF/web.xml</include> <include>WEB-INF/web.xml</include>
<include>WEB-INF/jboss-web.xml</include>
<include>WEB-INF/shiro.ini</include> <include>WEB-INF/shiro.ini</include>
</includes> </includes>
</resource> </resource>

View File

@ -1,4 +1,5 @@
jsf.projectStage=Development jsf.projectStage=Development
context.root=account
shiro.contextFactory = # not defined shiro.contextFactory = # not defined
shiro.passwordMatcher= passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher${line.separator}passwordMatcher.passwordService = $passwordService shiro.passwordMatcher= passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher${line.separator}passwordMatcher.passwordService = $passwordService

View File

@ -1,4 +1,5 @@
jsf.projectStage=Production jsf.projectStage=Production
context.root=account
ldap.url = ldaps://host:port ldap.url = ldaps://host:port
## we will use provided username / password from webapplication ## we will use provided username / password from webapplication

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web version="10.0"
xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_7_2.xsd">
<context-root>${context.root}</context-root>
</jboss-web>

View File

@ -2,7 +2,7 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml" <ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui" xmlns:p="http://primefaces.org/ui"
template="/resources/templates/template.xhtml" template="/resources/template/template.xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:shiro="http://shiro.apache.org/tags"> xmlns:shiro="http://shiro.apache.org/tags">