PUSPProxyProvider

ProxyProvider implementation for a per-user sub-proxy(PUSP) proxy generation using PUSP proxy server. More details about PUSP here: https://wiki.egi.eu/wiki/Usage_of_the_per_user_sub_proxy_in_EGI

/Resources/ProxyProviders section
  MY_PUSP
  {

    ProviderType = DIRACCA

    # PUSP service URL
    ServiceURL = https://mypuspserver.com/
  }
class DIRAC.Resources.ProxyProvider.PUSPProxyProvider.PUSPProxyProvider(parameters=None)

Bases: ProxyProvider

__init__(parameters=None)
checkStatus(userDN)

Read ready to work status of proxy provider

Parameters:

userDN (str) – user DN

Returns:

S_OK()/S_ERROR()

generateDN(**kwargs)

Generate new DN

Parameters:

kwargs (dict) – user description dictionary

Returns:

S_OK(str)/S_ERROR() – contain DN

getProxy(userDN)

Generate user proxy

Parameters:

userDN (str) – user DN

Returns:

S_OK(str)/S_ERROR() – contain a proxy string

setParameters(parameters)