Skip to content

Commit

Permalink
Spring context for overwrite in the overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed May 6, 2016
1 parent ebfc447 commit bf4c252
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
45 changes: 45 additions & 0 deletions gui/admin-gui/src/main/resources/ctx-overlay.xml
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ Copyright (c) 2016 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:ssec="http://cxf.apache.org/spring-security"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/jaxrs
http://cxf.apache.org/schemas/jaxrs.xsd
http://cxf.apache.org/spring-security
http://cxf-spring-security.googlecode.com/svn/trunk/cxf-spring-security/src/main/resources/schemas/spring-security.xsd"
default-lazy-init="false"
default-autowire="byName">

<!-- Empty.
This file is meant to be overwritten by overlay projects to include
additional spring contexts as needed. -->

</beans>
1 change: 1 addition & 0 deletions gui/admin-gui/src/main/webapp/WEB-INF/web.xml
Expand Up @@ -38,6 +38,7 @@
classpath*:ctx-notifications.xml,
classpath:ctx-certification.xml,
classpath:ctx-interceptor.xml,
classpath*:ctx-overlay.xml,
<!-- classpath:ctx-camel-imports.xml, -->
/WEB-INF/ctx-webapp.xml,
/WEB-INF/ctx-web-security.xml,
Expand Down

0 comments on commit bf4c252

Please sign in to comment.