SecurityContext Class

class htcondor2.SecurityContext(token=None)

Alterations to the default configuration used when authenticating with an HTCondor daemon over the network.

A SecurityContext may be passed to functions and methods that contact a daemon – for example ping() and the Collector constructor – 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.