Project

General

Profile

metacat / lib / oa4mp_client.xml @ 8265

1
<?xml version="1.0" encoding="UTF-8"?>
2
<config>
3
        <client>
4
                <callbackUri>https://mn-demo-4.test.dataone.org/metacat/ready</callbackUri>
5
                <serviceUri>https://cilogon.org/oauth</serviceUri>
6
                <authorizeUri>https://cilogon.org/delegate</authorizeUri>
7
                <skin>DataONE</skin>
8
                <lifetime>864000</lifetime>
9
                <!-- These values need to be configured for your system and are part of the MyProxy registration -->
10
                <privateKeyFile>/etc/ssl/private/_.test.dataone.org.key.pk8</privateKeyFile>
11
                <publicKeyFile>/etc/ssl/certs/_.test.dataone.org.crt.publickey</publicKeyFile>
12
                <!-- <id>MYPROXY_ID</id> -->
13
                <id>myproxy:oa4mp,2012:/client/14866728c43d90adfe6dbd7682c35aba</id>                
14

    
15
                <!-- file store -->
16
        <fileStore path="/var/lib/tomcat6/webapps/metacat/WEB-INF/oa4mp">
17
                        <assetStore/>
18
                        <transactions/>
19
                        <clients/>
20
                        <clientApprovals/>
21
                </fileStore>
22
                <!-- in-memory store -->
23
                <!--
24
                <memoryStore>
25
                        <assetStore/>
26
                        <transactions/>
27
                        <clients/>
28
                        <clientApprovals/>
29
                </memoryStore>
30
                -->
31
                <!-- for postgres-based storage of the certificates -->
32
                <!--
33
                <postgresql 
34
                        username="oa4mp" 
35
                        password="oa4mp" 
36
                        driver="org.postgresql.Driver"
37
                        host="cn.dataone.org"
38
                        port="5432" 
39
                        schema="oauth" 
40
                        database="oauth" 
41
                        tablename="assets" 
42
                        prefix="oauth">
43
                        <assetStore/>
44
                        <transactions/>
45
                        <clients/>
46
                        <clientApprovals/>
47
                </postgresql>
48
                -->
49
                
50
                <enableAssetCleanup>true</enableAssetCleanup>
51
                <maxAssetLifetime>865000</maxAssetLifetime>
52
                
53
                <logging
54
                        logFileName="/var/log/tomcat6/portal.log"
55
                        logName="oa4mp"
56
                        logSize="1000000"
57
                        logFileCount="2"
58
                        debug="true"/>
59
                
60
        </client>
61
</config>