setting kie-wb maven repo as public
This commit is contained in:
parent
dec73f7ba3
commit
49fbd72723
3 changed files with 771 additions and 278 deletions
|
|
@ -106,7 +106,31 @@
|
||||||
<outputDirectory>${basedir}/target//unpack-tmp/WEB-INF/classes/META-INF</outputDirectory>
|
<outputDirectory>${basedir}/target//unpack-tmp/WEB-INF/classes/META-INF</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources/META-INF</directory>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
<overwrite>true</overwrite>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>3.0.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-resources</id>
|
||||||
|
<!-- here the phase you need -->
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${basedir}/target//unpack-tmp/WEB-INF/</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources/WEB-INF</directory>
|
||||||
<filtering>false</filtering>
|
<filtering>false</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
@ -229,7 +253,9 @@
|
||||||
<assembly>
|
<assembly>
|
||||||
<mode>dir</mode>
|
<mode>dir</mode>
|
||||||
<name>maven/</name>
|
<name>maven/</name>
|
||||||
<inline xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
<inline xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||||
<id>middleware-rest</id>
|
<id>middleware-rest</id>
|
||||||
<files>
|
<files>
|
||||||
<file>
|
<file>
|
||||||
|
|
@ -283,5 +309,4 @@
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
@ -0,0 +1,468 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<distributable/>
|
||||||
|
-->
|
||||||
|
<listener>
|
||||||
|
<listener-class>org.uberfire.backend.server.io.DisposableShutdownService</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
|
<listener>
|
||||||
|
<listener-class>org.kie.workbench.screens.workbench.backend.SwaggerAPIScanner</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>javax.ws.rs.core.Application</servlet-name>
|
||||||
|
<url-pattern>/rest/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<context-param>
|
||||||
|
<param-name>resteasy.role.based.security</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</context-param>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>request-capture</filter-name>
|
||||||
|
<filter-class>org.uberfire.ext.security.server.SecurityIntegrationFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>request-capture</filter-name>
|
||||||
|
<url-pattern>*</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>Cache Filter</filter-name>
|
||||||
|
<filter-class>org.uberfire.ext.security.server.CacheHeadersFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>Cache Filter</filter-name>
|
||||||
|
<url-pattern>/kie-wb.jsp</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>Cache Filter</filter-name>
|
||||||
|
<url-pattern>*.js</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>Host Page Patch</filter-name>
|
||||||
|
<filter-class>org.jboss.errai.security.server.servlet.UserHostPageFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>Host Page Patch</filter-name>
|
||||||
|
<url-pattern>/kie-wb.jsp</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>CSRF Token Filter</filter-name>
|
||||||
|
<filter-class>org.jboss.errai.bus.server.servlet.CSRFTokenFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>CSRF Token Filter</filter-name>
|
||||||
|
<url-pattern>/kie-wb.jsp</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>GWT Locale Filter</filter-name>
|
||||||
|
<filter-class>org.uberfire.server.locale.GWTLocaleHeaderFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>GWT Locale Filter</filter-name>
|
||||||
|
<url-pattern>/kie-wb.jsp</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>UberFire Security Headers Filter</filter-name>
|
||||||
|
<filter-class>org.uberfire.ext.security.server.SecureHeadersFilter</filter-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>x-frame-options</param-name>
|
||||||
|
<param-value>SAMEORIGIN</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>x-xss-protection-enable</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>x-xss-protection-block</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>UberFire Security Headers Filter</filter-name>
|
||||||
|
<url-pattern>*</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>LoginRedirectServlet</servlet-name>
|
||||||
|
<servlet-class>org.uberfire.ext.security.server.LoginRedirectServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>display-after-login</param-name>
|
||||||
|
<param-value>/kie-wb.jsp</param-value>
|
||||||
|
</init-param>
|
||||||
|
</servlet>
|
||||||
|
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>LoginRedirectServlet</servlet-name>
|
||||||
|
<url-pattern>/login</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<welcome-file-list>
|
||||||
|
<welcome-file>index.jsp</welcome-file>
|
||||||
|
<welcome-file>index.html</welcome-file>
|
||||||
|
</welcome-file-list>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<filter-name>GzipFilter</filter-name>
|
||||||
|
<filter-class>org.uberfire.backend.server.util.gzip.GzipFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>GzipFilter</filter-name>
|
||||||
|
<url-pattern>*.js</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
|
||||||
|
<!-- drools-wb servlets -->
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>DTableXLSFileServlet</servlet-name>
|
||||||
|
<servlet-class>org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSFileServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>includes-path</param-name>
|
||||||
|
<param-value>git://**,default://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>excludes-path</param-name>
|
||||||
|
<param-value>file://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>DTableXLSFileServlet</servlet-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/dtablexls/file</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>ArchiveServlet</servlet-name>
|
||||||
|
<servlet-class>org.guvnor.common.services.backend.archive.ArchiveServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>includes-path</param-name>
|
||||||
|
<param-value>git://**,default://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>excludes-path</param-name>
|
||||||
|
<param-value>file://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>ArchiveServlet</servlet-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/archive</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>ScoreCardFileServlet</servlet-name>
|
||||||
|
<servlet-class>org.drools.workbench.screens.scorecardxls.backend.server.ScoreCardXLSFileServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>includes-path</param-name>
|
||||||
|
<param-value>git://**,default://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>excludes-path</param-name>
|
||||||
|
<param-value>file://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>ScoreCardFileServlet</servlet-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/scorecardxls/file</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>UberfireFileUploadServlet</servlet-name>
|
||||||
|
<servlet-class>org.uberfire.server.FileUploadServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>includes-path</param-name>
|
||||||
|
<param-value>git://**,default://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>excludes-path</param-name>
|
||||||
|
<param-value>file://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>UberfireFileUploadServlet</servlet-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/defaulteditor/upload/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>UberfireFileDownloadServlet</servlet-name>
|
||||||
|
<servlet-class>org.uberfire.server.FileDownloadServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>includes-path</param-name>
|
||||||
|
<param-value>git://**,default://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>excludes-path</param-name>
|
||||||
|
<param-value>file://**</param-value>
|
||||||
|
</init-param>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>UberfireFileDownloadServlet</servlet-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/defaulteditor/download/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>M2Servlet</servlet-name>
|
||||||
|
<servlet-class>org.guvnor.m2repo.backend.server.M2Servlet</servlet-class>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>M2Servlet</servlet-name>
|
||||||
|
<url-pattern>/maven2/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>VerifierWebWorkerServlet</servlet-name>
|
||||||
|
<servlet-class>org.kie.workbench.common.services.verifier.service.VerifierWebWorkerServlet</servlet-class>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>VerifierWebWorkerServlet</servlet-name>
|
||||||
|
<url-pattern>/verifier/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>PluginMediaServlet</servlet-name>
|
||||||
|
<servlet-class>org.uberfire.ext.plugin.backend.PluginMediaServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>url-pattern</param-name>
|
||||||
|
<param-value>/plugins/</param-value>
|
||||||
|
</init-param>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>PluginMediaServlet</servlet-name>
|
||||||
|
<url-pattern>/plugins/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<!-- Errai servlets -->
|
||||||
|
<servlet>
|
||||||
|
<!-- NOTE: the integration-test profile uses this web.xml. Integration tests only work properly
|
||||||
|
with the DefaultBlockingServlet. If you change this setting, make a backup of this web.xml
|
||||||
|
(perhaps under src/integration-test-settings/web.xml and alter the integration-test
|
||||||
|
profile in pom.xml to use that. -->
|
||||||
|
<servlet-name>ErraiServlet</servlet-name>
|
||||||
|
<servlet-class>org.jboss.errai.bus.server.servlet.DefaultBlockingServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>ErraiServlet</servlet-name>
|
||||||
|
<url-pattern>*.erraiBus</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<!-- Start jBPM Designer -->
|
||||||
|
<filter>
|
||||||
|
<filter-name>Redirect Filter</filter-name>
|
||||||
|
<filter-class>org.jbpm.designer.filter.DesignerResourcesRedirectFilter</filter-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>redirectTo</param-name>
|
||||||
|
<param-value>/org.kie.bc.KIEWebapp</param-value>
|
||||||
|
</init-param>
|
||||||
|
</filter>
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>Redirect Filter</filter-name>
|
||||||
|
<url-pattern>/org.jbpm.designer.jBPMDesigner/*</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
<!-- the number within the session-timout element must be expressed in
|
||||||
|
minutes. it is now 24 hours. -->
|
||||||
|
<session-config>
|
||||||
|
<session-timeout>1440</session-timeout>
|
||||||
|
<cookie-config>
|
||||||
|
<http-only>true</http-only>
|
||||||
|
</cookie-config>
|
||||||
|
</session-config>
|
||||||
|
<!-- jBoss' default mapping is to "image/svg", which causes the client
|
||||||
|
not to parse the SVG content as XML. However, the Oryx Editor client relies
|
||||||
|
on that behaviour. The mimetype as per W3C specification must be "image/svg+xml".
|
||||||
|
See http://www.w3.org/TR/SVG/intro.html#MIMEType. -->
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>svg</extension>
|
||||||
|
<mime-type>image/svg+xml</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>json</extension>
|
||||||
|
<mime-type>application/json</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>css</extension>
|
||||||
|
<mime-type>text/css</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<!-- Set Favourites Icon MIME-Type -->
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>ico</extension>
|
||||||
|
<mime-type>image/x-icon</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<!-- End jBPM Designer -->
|
||||||
|
|
||||||
|
<!-- security settings -->
|
||||||
|
<security-constraint>
|
||||||
|
<web-resource-collection>
|
||||||
|
<web-resource-name>download</web-resource-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/archive</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/defaulteditor/upload/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/defaulteditor/download/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/dtablexls/file</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/scorecardxls/file</url-pattern>
|
||||||
|
</web-resource-collection>
|
||||||
|
<auth-constraint>
|
||||||
|
<role-name>admin</role-name>
|
||||||
|
<role-name>analyst</role-name>
|
||||||
|
<role-name>developer</role-name>
|
||||||
|
</auth-constraint>
|
||||||
|
</security-constraint>
|
||||||
|
|
||||||
|
<security-constraint>
|
||||||
|
<web-resource-collection>
|
||||||
|
<web-resource-name>console</web-resource-name>
|
||||||
|
<url-pattern>/kie-wb.jsp</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/*</url-pattern>
|
||||||
|
<url-pattern>*.erraiBus</url-pattern>
|
||||||
|
<url-pattern>/resourceList</url-pattern>
|
||||||
|
<url-pattern>/editor</url-pattern>
|
||||||
|
<url-pattern>/editor/*</url-pattern>
|
||||||
|
<url-pattern>/menuconnector/*</url-pattern>
|
||||||
|
<url-pattern>/menu/*</url-pattern>
|
||||||
|
<url-pattern>/uuidRepository</url-pattern>
|
||||||
|
<url-pattern>/transformer</url-pattern>
|
||||||
|
<url-pattern>/assetservice</url-pattern>
|
||||||
|
<url-pattern>/filestore</url-pattern>
|
||||||
|
<url-pattern>/dictionary</url-pattern>
|
||||||
|
<url-pattern>/themes</url-pattern>
|
||||||
|
<url-pattern>/customeditors</url-pattern>
|
||||||
|
<url-pattern>/simulation</url-pattern>
|
||||||
|
<url-pattern>/formwidget</url-pattern>
|
||||||
|
<url-pattern>/calledelement</url-pattern>
|
||||||
|
<url-pattern>/stencilpatterns</url-pattern>
|
||||||
|
<url-pattern>/jbpmservicerepo</url-pattern>
|
||||||
|
<url-pattern>/processdiff</url-pattern>
|
||||||
|
<url-pattern>/taskforms</url-pattern>
|
||||||
|
<url-pattern>/taskformseditor</url-pattern>
|
||||||
|
<url-pattern>/processinfo</url-pattern>
|
||||||
|
<url-pattern>/syntaxcheck</url-pattern>
|
||||||
|
<url-pattern>/plugins</url-pattern>
|
||||||
|
<url-pattern>/plugin</url-pattern>
|
||||||
|
<url-pattern>/plugin/*</url-pattern>
|
||||||
|
<url-pattern>/stencilset/*</url-pattern>
|
||||||
|
<url-pattern>/plugins/*</url-pattern>
|
||||||
|
<url-pattern>/verifier/*</url-pattern>
|
||||||
|
<url-pattern>/docs/*</url-pattern>
|
||||||
|
</web-resource-collection>
|
||||||
|
<auth-constraint>
|
||||||
|
<role-name>admin</role-name>
|
||||||
|
<role-name>analyst</role-name>
|
||||||
|
<role-name>developer</role-name>
|
||||||
|
<role-name>user</role-name>
|
||||||
|
<role-name>manager</role-name>
|
||||||
|
<role-name>process-admin</role-name>
|
||||||
|
</auth-constraint>
|
||||||
|
</security-constraint>
|
||||||
|
|
||||||
|
<!-- public resources -->
|
||||||
|
<security-constraint>
|
||||||
|
<web-resource-collection>
|
||||||
|
<web-resource-name>public</web-resource-name>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/ace/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/bootstrap-daterangepicker/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/bootstrap-select/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/css/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/deferredjs/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/fonts/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/img/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/images/*</url-pattern>
|
||||||
|
<url-pattern>/org.kie.bc.KIEWebapp/zeroclipboard/*</url-pattern>
|
||||||
|
<url-pattern>/rest/ready</url-pattern>
|
||||||
|
<url-pattern>/rest/healthy</url-pattern>
|
||||||
|
<url-pattern>/maven2/*</url-pattern>
|
||||||
|
</web-resource-collection>
|
||||||
|
</security-constraint>
|
||||||
|
|
||||||
|
<security-constraint>
|
||||||
|
<web-resource-collection>
|
||||||
|
<web-resource-name>remote-services</web-resource-name>
|
||||||
|
<url-pattern>/rest/*</url-pattern>
|
||||||
|
<url-pattern>/ws/*</url-pattern>
|
||||||
|
</web-resource-collection>
|
||||||
|
<auth-constraint>
|
||||||
|
<role-name>rest-all</role-name>
|
||||||
|
</auth-constraint>
|
||||||
|
</security-constraint>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<login-config>
|
||||||
|
<auth-method>BASIC?silent=true,FORM</auth-method>
|
||||||
|
<form-login-config>
|
||||||
|
<form-login-page>/login.jsp</form-login-page>
|
||||||
|
<form-error-page>/login.jsp?message=Login failed: Invalid UserName or Password</form-error-page>
|
||||||
|
</form-login-config>
|
||||||
|
</login-config>
|
||||||
|
|
||||||
|
<security-role>
|
||||||
|
<description>Administrator - Administrates the BPMS system. Has full access
|
||||||
|
rights to make any changes necessary. Also has the
|
||||||
|
ability to add and remove users from the system.
|
||||||
|
</description>
|
||||||
|
<role-name>admin</role-name>
|
||||||
|
</security-role>
|
||||||
|
|
||||||
|
<security-role>
|
||||||
|
<description>Analyst - Responsible for creating and designing processes
|
||||||
|
into the system. Creates process flows and handles
|
||||||
|
process change requests. Needs to test processes that
|
||||||
|
they create. Also creates forms and dashboards.
|
||||||
|
</description>
|
||||||
|
<role-name>analyst</role-name>
|
||||||
|
</security-role>
|
||||||
|
|
||||||
|
<security-role>
|
||||||
|
<description>Developer - Implements code required for process to work. Mostly uses
|
||||||
|
the JBDS connection to view processes, but may use the
|
||||||
|
web tool occasionally.
|
||||||
|
</description>
|
||||||
|
<role-name>developer</role-name>
|
||||||
|
</security-role>
|
||||||
|
|
||||||
|
<security-role>
|
||||||
|
<description>Business user - Daily user of the system to take actions on business tasks
|
||||||
|
that are required for the processes to continue forward. Works
|
||||||
|
primarily with the task lists.
|
||||||
|
</description>
|
||||||
|
<role-name>user</role-name>
|
||||||
|
</security-role>
|
||||||
|
|
||||||
|
<security-role>
|
||||||
|
<description>Manager/Viewer-only User - Viewer of the system that is interested in statistics
|
||||||
|
around the business processes and their performance, business indicators, and other
|
||||||
|
reporting of the system and people who interact with the system.
|
||||||
|
</description>
|
||||||
|
<role-name>manager</role-name>
|
||||||
|
</security-role>
|
||||||
|
|
||||||
|
<security-role>
|
||||||
|
<description>Process Administrator - can access and manage the process related activities like process
|
||||||
|
definitions and process instances.
|
||||||
|
</description>
|
||||||
|
<role-name>process-admin</role-name>
|
||||||
|
</security-role>
|
||||||
|
|
||||||
|
<error-page>
|
||||||
|
<error-code>403</error-code>
|
||||||
|
<location>/not_authorized.jsp</location>
|
||||||
|
</error-page>
|
||||||
|
|
||||||
|
</web-app>
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue