Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 202 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
authorizationPrincipalAuthenticator.py 523 B
#!/usr/bin/env python

from dm.common.utility.loggingManager import LoggingManager

class AuthorizationPrincipalAuthenticator:

    def __init__(self, name=None):
        self.name = name
        self.logger = LoggingManager.getInstance().getLogger(self.__class__.__name__)

    def getName(self):
        return self.name

    def authenticatePrincipal(self, principal, password):
        return None

#######################################################################
# Testing.
if __name__ == '__main__':
    pass