ProxyGeneration
- class DIRAC.FrameworkSystem.Client.ProxyGeneration.CLIParams
Bases:
object
- certLoc = False
- checkWithCS = True
- diracGroup = False
- embedDefaultGroup = True
- getDIRACGroup()
Get DIRAC group
- Returns:
str
- getProxyLifeTime()
Get proxy lifetime
- Returns:
str
- getProxyRemainingSecs()
Get proxy livetime
- Returns:
int
- keyLoc = False
- limitedProxy = False
- proxyLifeTime = 86400
- proxyLoc = False
- proxyStrength = 2048
- registerCLISwitches()
Register CLI switches
- setDisableCSCheck(_arg)
Disable CS check
- Parameters:
_arg – unuse
- Returns:
S_OK()
- setProxyLifeTime(arg)
Set proxy lifetime
- Parameters:
arg (str) – arguments
- Returns:
S_OK()/S_ERROR()
- setProxyLimited(_arg)
Set proxy limited
- Parameters:
_arg – unuse
- Returns:
str
- setProxyRemainingSecs(arg)
Set proxy lifetime
- Parameters:
arg (int) – lifetime in seconds
- Returns:
S_OK()
- setProxyStrength(arg)
Get proxy strength
- Returns:
S_OK()
- setStdinPasswd(_arg)
Set stdin passwd
- Parameters:
_arg – unuse
- Returns:
S_OK()
- setStrict(_arg)
Set strict
- Parameters:
_arg – unuse
- Returns:
S_OK()
- setSummary(_arg)
Set proxy limited
- Parameters:
_arg – unuse
- Returns:
str
- stdinPasswd = False
- strict = False
- summary = False
- userPasswd = ''
- DIRAC.FrameworkSystem.Client.ProxyGeneration.generateProxy(params)
Generate proxy
- Parameters:
params – parameters
- Returns:
S_OK()/S_ERROR()