@@ -69,95 +69,99 @@ indexer via the -R option.
69
69
</void >
70
70
</void >
71
71
72
- <!-- get user cred from HTTP headers -->
73
- <void method =" add" >
74
- <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
75
- <void property =" name" >
76
- <string >opengrok.auth.plugin.UserPlugin</string >
77
- </void >
78
- <void property =" flag" >
79
- <string >REQUISITE</string >
80
- </void >
81
- </object >
82
- </void >
83
-
84
- <!-- get email, ou and uid -->
85
- <void method =" add" >
86
- <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
87
- <void property =" name" >
88
- <string >opengrok.auth.plugin.LdapUserPlugin</string >
89
- </void >
90
- <void property =" flag" >
91
- <string >REQUISITE</string >
92
- </void >
93
- </object >
94
- <void property =" setup" >
95
- <void method =" put" >
96
- <string >objectclass</string >
97
- <string >posixAccount</string >
98
- </void >
72
+ <void property =" stack" >
73
+ <!-- get user cred from HTTP headers -->
74
+ <void method =" add" >
75
+ <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
76
+ <void property =" name" >
77
+ <string >opengrok.auth.plugin.UserPlugin</string >
78
+ </void >
79
+ <void property =" flag" >
80
+ <string >REQUISITE</string >
81
+ </void >
82
+ </object >
99
83
</void >
100
- </void >
101
84
102
- <!-- Authorization stacks follow -->
103
-
104
- <void method =" add" >
105
- <object class =" org.opensolaris.opengrok.authorization.AuthorizationStack" >
106
- <void property =" forProjects" >
107
- <void method =" add" >
108
- <string >foo</string >
85
+ <!-- get email, ou and uid -->
86
+ <void method =" add" >
87
+ <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
88
+ <void property =" name" >
89
+ <string >opengrok.auth.plugin.LdapUserPlugin</string >
109
90
</void >
110
- </void >
111
- <void property =" forGroups" >
112
- <void method =" add" >
113
- <string >mygroup</string >
91
+ <void property =" flag" >
92
+ <string >REQUISITE</string >
93
+ </void >
94
+ </object >
95
+ <void property =" setup" >
96
+ <void method =" put" >
97
+ <string >objectclass</string >
98
+ <string >posixAccount</string >
114
99
</void >
115
100
</void >
116
- <void property =" name" >
117
- <string >substack for some source code</string >
118
- </void >
119
- <void property =" flag" >
120
- <string >REQUIRED</string >
121
- </void >
122
- <void method =" add" >
123
- <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
124
- <void property =" name" >
125
- <string >opengrok.auth.plugin.LdapAttrPlugin</string >
126
- </void >
127
- <void property =" flag" >
128
- <string >SUFFICIENT</string >
129
- </void >
130
- <void property =" setup" >
131
- <void method =" put" >
132
- <string >attribute</string >
133
- <string >mail</string >
134
- </void >
135
- <void method =" put" >
136
- <string >file</string >
137
- <string >/opengrok/auth/config/whitelists/mycode-whitelist-mail.txt</string >
138
- </void >
101
+ </void >
102
+
103
+ <!-- Authorization stacks follow -->
104
+
105
+ <void method =" add" >
106
+ <object class =" org.opensolaris.opengrok.authorization.AuthorizationStack" >
107
+ <void property =" forProjects" >
108
+ <void method =" add" >
109
+ <string >foo</string >
139
110
</void >
140
- </object >
141
- </void >
142
- <void method =" add" >
143
- <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
144
- <void property =" name" >
145
- <string >opengrok.auth.plugin.LdapFilterPlugin</string >
111
+ </void >
112
+ <void property =" forGroups" >
113
+ <void method =" add" >
114
+ <string >mygroup</string >
146
115
</void >
147
- <void property =" flag" >
148
- <string >REQUIRED</string >
116
+ </void >
117
+ <void property =" name" >
118
+ <string >substack for some source code</string >
119
+ </void >
120
+ <void property =" flag" >
121
+ <string >REQUIRED</string >
122
+ </void >
123
+ <void property =" stack" >
124
+ <void method =" add" >
125
+ <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
126
+ <void property =" name" >
127
+ <string >opengrok.auth.plugin.LdapAttrPlugin</string >
128
+ </void >
129
+ <void property =" flag" >
130
+ <string >SUFFICIENT</string >
131
+ </void >
132
+ <void property =" setup" >
133
+ <void method =" put" >
134
+ <string >attribute</string >
135
+ <string >mail</string >
136
+ </void >
137
+ <void method =" put" >
138
+ <string >file</string >
139
+ <string >/opengrok/auth/config/whitelists/mycode-whitelist-mail.txt</string >
140
+ </void >
141
+ </void >
142
+ </object >
149
143
</void >
150
- <void property =" setup" >
151
- <void method =" put" >
152
- <string >filter</string >
153
- <string >(& (objectclass=posixGroup)(cn=my_src*)(memberUid=%uid%))</string >
154
- </void >
144
+ <void method =" add" >
145
+ <object class =" org.opensolaris.opengrok.authorization.AuthorizationPlugin" >
146
+ <void property =" name" >
147
+ <string >opengrok.auth.plugin.LdapFilterPlugin</string >
148
+ </void >
149
+ <void property =" flag" >
150
+ <string >REQUIRED</string >
151
+ </void >
152
+ <void property =" setup" >
153
+ <void method =" put" >
154
+ <string >filter</string >
155
+ <string >(& (objectclass=posixGroup)(cn=my_src*)(memberUid=%uid%))</string >
156
+ </void >
157
+ </void >
158
+ </object >
155
159
</void >
156
- </object >
157
- </void >
158
- </object >
160
+ </void >
161
+ </object >
162
+ </void >
159
163
</void >
160
-
164
+
161
165
<!-- Authorization config end -->
162
166
</object >
163
167
```
0 commit comments