made context root configurable
This commit is contained in:
@ -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>
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
7
account-ui/src/main/webapp/WEB-INF/jboss-web.xml
Normal file
7
account-ui/src/main/webapp/WEB-INF/jboss-web.xml
Normal 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>
|
||||||
@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user