Skip to content

Commit 3ffb2f9

Browse files
committed
document pluginDirectory property
1 parent d5abd60 commit 3ffb2f9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/authorization_howto.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ You can configure:
1818

1919
1) Plugin directory
2020

21-
In web.xml for the webapp, there is a context parameter dedicated to this.
21+
Can be specified in configuration with a property, e.g.:
22+
23+
<void property="pluginDirectory">
24+
<string>/opengrok/auth/plugins</string>
25+
</void>
26+
27+
Alternatively, in web.xml for the webapp, there is a context parameter dedicated to this.
2228

2329
<context-param>
2430
<param-name>authorizationPluginDirectory</param-name>
@@ -32,8 +38,9 @@ You can configure:
3238
It is commented out by default so that the framework does not do anything.
3339
The OPENGROK_DATA_ROOT is the dataRoot directory set in configuration.xml.
3440

35-
Opengrok authorization expects plugin classes in that directory, it loads those classes in
36-
memory as plugins and then perform the authorization for each request.
41+
Opengrok authorization expects plugin classes in that directory, it loads
42+
those classes into memory as plugins and then perform the authorization for
43+
each request.
3744

3845
2) Watchdog service
3946

0 commit comments

Comments
 (0)