config.py 393 Bytes
Newer Older
jens.kleineheismann's avatar
jens.kleineheismann committed
1
2
from .exceptions import MissingConfigError

3
4
5
6
SYMBOLS = {
    'GROUP_PK_ATTRIB': 'name',
    'OE_PK_ATTRIB': 'kurz',
    'USER_PK_ATTRIB': 'samaccount',
jens.kleineheismann's avatar
jens.kleineheismann committed
7
8
}

9
10
11
12
13
14
15
DEFAULTS = {
    'URL_SCHEMA': 'https://',
    'SERVER': 'kit-idm-03.scc.kit.edu',
    'BASE_URI': '/itbportal-rest-war/rest',
    'USERNAME': MissingConfigError('No username set'),
    'PASSWORD': MissingConfigError('No password set'),
}