1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 """\
21 L{X2GoSessionProfiles} class - managing x2goclient session profiles.
22
23 L{X2GoSessionProfiles} is a public API class. Use this class in your Python X2Go based
24 applications.
25
26 """
27 __NAME__ = 'x2gosessionprofiles-pylib'
28
29
30 import copy
31
32
33 import x2go.backends.profiles.base as base
34 import x2go.log as log
35
36 from x2go.defaults import X2GO_SESSIONPROFILE_DEFAULTS as _X2GO_SESSIONPROFILE_DEFAULTS
37
38 from x2go.x2go_exceptions import X2GoNotImplementedYetException
39
41
42 defaultSessionProfile = copy.deepcopy(_X2GO_SESSIONPROFILE_DEFAULTS)
43 _non_profile_sections = ('embedded')
44
46 """\
47 Retrieve X2Go session profiles from a SSH session broker.
48
49 @param session_profile_defaults: a default session profile
50 @type session_profile_defaults: C{dict}
51 @param logger: you can pass an L{X2GoLogger} object to the
52 L{x2go.backends.profiles.httpbroker.X2GoSessionProfiles} constructor
53 @type logger: L{X2GoLogger} instance
54 @param loglevel: if no L{X2GoLogger} object has been supplied a new one will be
55 constructed with the given loglevel
56 @type loglevel: C{int}
57
58 """
59 raise X2GoNotImplementedYetException('HTTPSBROKER backend support is not implemented yet')
60