| Server IP : 172.64.80.1 / Your IP : 216.73.216.175 Web Server : LiteSpeed System : Linux srv13.swhc.ca 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : hongluck ( 2522) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.6/site-packages/sssd/ |
Upload File : |
from enum import Enum
from abc import ABC, abstractmethod
class Reader(ABC):
"""
An abstract class used to represent a source Reader
"""
class Component(Enum):
""" SSSD component to enable for reading """
NSS = 1 # NSS Responder
PAM = 2 # PAM Responder
BE = 3 # Backend
@abstractmethod
def __init__(self):
pass
@abstractmethod
def __iter__(self):
pass
@abstractmethod
def set_component(self):
pass