Esempio n. 1
0
File: auth.py Progetto: rlugojr/st2
    def __init__(self, *args, **kwargs):
        super(TokenController, self).__init__(*args, **kwargs)

        if cfg.CONF.auth.mode == "standalone":
            self._auth_backend = get_backend_instance(name=cfg.CONF.auth.backend)
        else:
            self._auth_backend = None
Esempio n. 2
0
    def __init__(self, *args, **kwargs):
        super(TokenController, self).__init__(*args, **kwargs)

        if cfg.CONF.auth.mode == 'standalone':
            self._auth_backend = get_backend_instance(name=cfg.CONF.auth.backend)
        else:
            self._auth_backend = None
Esempio n. 3
0
 def __init__(self, *args, **kwargs):
     self._auth_backend = get_backend_instance(name=cfg.CONF.auth.backend)
     super(StandaloneAuthHandler, self).__init__(*args, **kwargs)
Esempio n. 4
0
 def __init__(self, *args, **kwargs):
     self._auth_backend = get_backend_instance(name=cfg.CONF.auth.backend)
     super(StandaloneAuthHandler, self).__init__(*args, **kwargs)