Project

General

Profile

« Previous | Next » 

Revision 8513

Added by Jing Tao almost 11 years ago

Added the file-based authentication configuration. Removed the ldap client section.

View differences:

lib/auth.properties.metadata.xml
11 11
	</group>
12 12
	
13 13
	<group>
14
		<index>2</index>
15
		<name>Authentication Client Configuration</name>
14
        <index>2</index>
15
        <name>File-based Authentication Configuration</name>
16
        <description>Class edu.ucsb.nceas.metacat.authentication.AuthFile uses the configurations.</description>
17
    </group>
18
	
19
	<group>
20
        <index>3</index>
21
        <name>LDAP Authentication Configuration</name>
22
        <description>Class edu.ucsb.nceas.metacat.AuthLdap uses the configurations of an external LDAP server.</description>
23
    </group>
24
    
25
    
26
	
27
	<!--<group>
28
		<index>4</index>
29
		<name>Authentication LDAP Client Configuration</name>
16 30
		<description>Authentication Client Connection Values.  This is only necessary 
17 31
		if you allow authentication password change and account creation functionality
18 32
		from within Metacat.</description>
19
	</group>
33
	</group>-->
34
	
35
	<config>
36
        <key>auth.administrators</key>
37
        <label>Metacat Administrators</label>
38
        <group>1</group>
39
        <index>1</index>
40
        <required>true</required>
41
        <description>Authentication users or groups for Metacat administration. 
42
            Typically, this holds LDAP credentials.
43
            &lt;font color="red"&gt; Note: this must be set to a username or
44
            group that you belong to in order to continue with 
45
            configuration&lt;/font&gt;.</description>
46
        <helpFile>docs/metacat-properties.html#auth-administrators</helpFile>
47
        <isRequired>true</isRequired>
48
    </config>
20 49

  
21 50
	<config>
22 51
		<key>auth.class</key>
23 52
		<label>Authentication Class</label>
24 53
		<group>1</group>
25
		<index>1</index>
54
		<index>2</index>
26 55
		<required>true</required>
27 56
		<description>Authentication Class.</description>
28 57
		<helpFile>docs/metacat-properties.html#auth-class</helpFile>
29 58
	</config>
30 59
	
31 60
	<config>
32
		<key>auth.url</key>
33
		<label>Authentication URL</label>
34
		<group>1</group>
35
		<index>2</index>
36
		<required>true</required>
37
		<description>Authentication Server URL.</description>
38
		<helpFile>docs/metacat-properties.html#auth-url</helpFile>
39
	</config>
61
        <key>auth.file.path</key>
62
        <label>Password File Path</label>
63
        <group>2</group>
64
        <index>1</index>
65
        <required>true</required>
66
        <description>Absolute path of the password file.</description>
67
        <helpFile>docs/metacat-properties.html#auth.file.path</helpFile>
68
    </config>
69
	
70
	<config>
71
        <key>auth.url</key>
72
        <label>Authentication URL</label>
73
        <group>3</group>
74
        <index>1</index>
75
        <required>true</required>
76
        <description>Authentication Server URL.</description>
77
        <helpFile>docs/metacat-properties.html#auth-url</helpFile>
78
    </config>
40 79

  
41 80
	<config>
42 81
		<key>auth.surl</key>
43 82
		<label>Authentication Secure URL</label>
44
		<group>1</group>
45
		<index>3</index>
83
		<group>3</group>
84
		<index>2</index>
46 85
		<required>true</required>
47 86
		<description>Authentication Secure Server URL.</description>
48 87
		<helpFile>docs/metacat-properties.html#auth-surl</helpFile>
......
51 90
	<config>
52 91
		<key>auth.base</key>
53 92
		<label>Authentication Base</label>
54
		<group>1</group>
55
		<index>4</index>
93
		<group>3</group>
94
		<index>3</index>
56 95
		<required>true</required>
57 96
		<description>Base part of Distinguished Name that Metacat uses for authentication.</description>
58 97
		<helpFile>docs/metacat-properties.html#auth-base</helpFile>
59 98
	</config>
60 99

  
61
	<config>
62
		<key>auth.administrators</key>
63
		<label>Metacat Administrators</label>
64
		<group>1</group>
65
		<index>5</index>
66
		<required>true</required>
67
		<description>Authentication users or groups for Metacat administration. 
68
			Typically, this holds LDAP credentials.
69
			&lt;font color="red"&gt; Note: this must be set to a username or
70
			group that you belong to in order to continue with 
71
			configuration&lt;/font&gt;.</description>
72
		<helpFile>docs/metacat-properties.html#auth-administrators</helpFile>
73
		<isRequired>true</isRequired>
74
	</config>
75 100
	
101
	<!--  
76 102
	<config>
77 103
		<key>organization.user.unaffiliated</key>
78 104
		<label>Client User Name</label>
79
		<group>2</group>
105
		<group>4</group>
80 106
		<index>1</index>
81 107
		<description>
82 108
			The user name that Metacat will use when creating an authentication account or 
......
88 114
	<config>
89 115
		<key>organization.password.unaffiliated</key>
90 116
		<label>Client Password</label>
91
		<group>2</group>
117
		<group>4</group>
92 118
		<index>2</index>
93 119
		<fieldType>password</fieldType>
94 120
		<description>
......
96 122
			changing a password.
97 123
		</description>
98 124
		<helpFile>docs/metacat-properties.html</helpFile>
99
	</config>
125
	</config>-->
100 126

  
101 127
</metadataConfig>

Also available in: Unified diff