2
2
* kwallet.cpp: KWallet provider for SVN_AUTH_CRED_*
4
4
* ====================================================================
5
* Copyright (c) 2008-2009 CollabNet. All rights reserved.
7
* This software is licensed as described in the file COPYING, which
8
* you should have received as part of this distribution. The terms
9
* are also available at http://subversion.tigris.org/license-1.html.
10
* If newer versions of this license are posted there, you may use a
11
* newer version instead, at your option.
13
* This software consists of voluntary contributions made by many
14
* individuals. For exact contribution history, see the revision
15
* history and logs, available at http://subversion.tigris.org/.
5
* Licensed to the Apache Software Foundation (ASF) under one
6
* or more contributor license agreements. See the NOTICE file
7
* distributed with this work for additional information
8
* regarding copyright ownership. The ASF licenses this file
9
* to you under the Apache License, Version 2.0 (the
10
* "License"); you may not use this file except in compliance
11
* with the License. You may obtain a copy of the License at
13
* http://www.apache.org/licenses/LICENSE-2.0
15
* Unless required by applicable law or agreed to in writing,
16
* software distributed under the License is distributed on an
17
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
* KIND, either express or implied. See the License for the
19
* specific language governing permissions and limitations
16
21
* ====================================================================
69
78
const char *svn_application_name;
70
79
if (svn_application_name_with_pid)
73
svn_application_name = apr_psprintf(pool, "Subversion [%ld]", pid);
81
svn_application_name = apr_psprintf(pool, "Subversion [%ld]", long(getpid()));
114
143
"kwallet-opening-failed",
115
144
APR_HASH_KEY_STRING))
117
wallet = KWallet::Wallet::openWallet(wallet_name,
146
wallet = KWallet::Wallet::openWallet(wallet_name, get_wid(),
119
147
KWallet::Wallet::Synchronous);