24 |
from geasList import * |
from geasList import * |
25 |
from geasSession import * |
from geasSession import * |
26 |
import geasAuthentification |
import geasAuthentification |
27 |
|
import classrep |
28 |
|
|
29 |
class AuthError(Exception): |
class AuthError(Exception): |
30 |
pass |
pass |
35 |
self._connections = connections |
self._connections = connections |
36 |
self._sessNo = 0 |
self._sessNo = 0 |
37 |
self._sessions = {} |
self._sessions = {} |
38 |
|
# initialize Class Repository without Authentication |
39 |
|
self._authAdapter = geasAuthentification.geasAuthAgent () |
40 |
|
classrep.init (self) |
41 |
# use DB for authetification |
# use DB for authetification |
42 |
self._authAdapter = geasAuthentification.geasDBAuthAgent() |
self._authAdapter = geasAuthentification.geasDBAuthAgent() |
43 |
|
|