You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2016/10/02 18:16:23 UTC

[4/5] archiva-redback-core git commit: Adding spring context for rbac module

Adding spring context for rbac module


Project: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/commit/d785f136
Tree: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/tree/d785f136
Diff: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/diff/d785f136

Branch: refs/heads/jpa
Commit: d785f13635e112ea2e898eacd7795297d86ae898
Parents: f8ee2af
Author: Martin Stockhammer <ma...@apache.org>
Authored: Sun Oct 2 20:15:26 2016 +0200
Committer: Martin Stockhammer <ma...@apache.org>
Committed: Sun Oct 2 20:15:26 2016 +0200

----------------------------------------------------------------------
 .../main/resources/META-INF/spring-context.xml  | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/archiva-redback-core/blob/d785f136/redback-rbac/redback-rbac-providers/redback-rbac-jpa/src/main/resources/META-INF/spring-context.xml
----------------------------------------------------------------------
diff --git a/redback-rbac/redback-rbac-providers/redback-rbac-jpa/src/main/resources/META-INF/spring-context.xml b/redback-rbac/redback-rbac-providers/redback-rbac-jpa/src/main/resources/META-INF/spring-context.xml
new file mode 100644
index 0000000..937e21d
--- /dev/null
+++ b/redback-rbac/redback-rbac-providers/redback-rbac-jpa/src/main/resources/META-INF/spring-context.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you 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"
+       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">
+
+  <context:component-scan base-package="org.apache.archiva.redback.rbac.jpa"/>
+</beans>
\ No newline at end of file