Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
| 4 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 5 | contributor license agreements. See the NOTICE file distributed with |
| 6 | this work for additional information regarding copyright ownership. |
| 7 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 8 | (the "License"); you may not use this file except in compliance with |
| 9 | the License. You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | |
| 19 | --> |
| 20 | <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" |
| 21 | xmlns:jaas="http://felix.apache.org/karaf/xmlns/jaas/v1.0.0" |
| 22 | xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> |
| 23 | |
| 24 | <!-- Bean to allow the $[karaf.base] property to be correctly resolved --> |
| 25 | <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"/> |
| 26 | |
| 27 | <jaas:config name="karaf"> |
| 28 | <jaas:module className="org.apache.felix.karaf.jaas.modules.properties.PropertiesLoginModule" flags="required"> |
| 29 | users = $[karaf.base]/etc/users.properties |
| 30 | </jaas:module> |
| 31 | </jaas:config> |
| 32 | |
| 33 | </blueprint> |