File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed
src/DIRAC/FrameworkSystem Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,38 @@ Services
71
71
}
72
72
}
73
73
# #END
74
+ # #BEGIN TornadoProxyManager:
75
+ # Section to describe ProxyManager system
76
+ # https://dirac.readthedocs.org/en/latest/AdministratorGuide/Systems/Framework/ProxyManager/index.html
77
+ TornadoProxyManager
78
+ {
79
+ Protocol = https
80
+ MaxThreads = 100
81
+ # Flag to use myproxy server
82
+ UseMyProxy = False
83
+ # Email to use as a sender for the expiration reminder
84
+
85
+ # Description of rules for access to methods
86
+ Authorization
87
+ {
88
+ Default = authenticated
89
+ getProxy = FullDelegation
90
+ getProxy += LimitedDelegation
91
+ getProxy += PrivateLimitedDelegation
92
+ getVOMSProxy = FullDelegation
93
+ getVOMSProxy += LimitedDelegation
94
+ getVOMSProxy += PrivateLimitedDelegation
95
+ getProxyWithToken = FullDelegation
96
+ getProxyWithToken += LimitedDelegation
97
+ getProxyWithToken += PrivateLimitedDelegation
98
+ getVOMSProxyWithToken = FullDelegation
99
+ getVOMSProxyWithToken += LimitedDelegation
100
+ getVOMSProxyWithToken += PrivateLimitedDelegation
101
+ getLogContents = ProxyManagement
102
+ setPersistency = ProxyManagement
103
+ }
104
+ }
105
+ # #END
74
106
SecurityLogging
75
107
{
76
108
Port = 9153
Original file line number Diff line number Diff line change 1
1
""" TornadoProxyManager is the implementation of the ProxyManagement service in HTTPS
2
2
3
3
.. literalinclude:: ../ConfigTemplate.cfg
4
- :start-after: ##BEGIN ProxyManager :
4
+ :start-after: ##BEGIN TornadoProxyManager :
5
5
:end-before: ##END
6
6
:dedent: 2
7
- :caption: ProxyManager options
7
+ :caption: TornadoProxyManager options
8
8
"""
9
+ from DIRAC import gLogger
9
10
from DIRAC .Core .Tornado .Server .TornadoService import TornadoService
10
11
from DIRAC .FrameworkSystem .Service .ProxyManagerHandler import ProxyManagerHandlerMixin
11
12
12
13
14
+ sLog = gLogger .getSubLogger (__name__ )
15
+
16
+
13
17
class TornadoProxyManagerHandler (ProxyManagerHandlerMixin , TornadoService ):
14
- pass
18
+ log = sLog
You can’t perform that action at this time.
0 commit comments