SecurityContext Class
- class htcondor2.SecurityContext(token=None)
Alterations to the default configuration used when authenticating with an HTCondor daemon over the network.
A
SecurityContextmay be passed to functions and methods that contact a daemon – for exampleping()and theCollectorconstructor – to override how that particular connection authenticates.- Parameters:
token (str | None) – The token (by value) to prefer when authenticating using this security context. See
preferred_token.
- property preferred_token
The token (by value) to try when using this security context.