Exemple #1
0
    def isValid(self, validity="", log=False, force_check=False):

        # Do parent check
        if not ICredential.isValid(self, validity, log, force_check):
            return False

        # check vo names
        if self.voname() != self.voms:
            if log:
                logger.warning("Grid Proxy not valid. Certificate VO '%s' does not match requested '%s'"
                               % (self.voname(), self.voms))
            return False

        return True
Exemple #2
0
    def isValid(self, validity="", log=False, force_check=False):

        # Do parent check
        if not ICredential.isValid(self, validity, log, force_check):
            return False

        # check vo names
        if self.voname() != self.voms:
            if log:
                logger.warning("Grid Proxy not valid. Certificate VO '%s' does not match requested '%s'"
                               % (self.voname(), self.voms))
            return False

        return True
Exemple #3
0
 def isValid(self, validity="", log=False, force_check=False):
     return ICredential.isValid(self, validity, log, force_check)
Exemple #4
0
 def isValid(self, validity="", log=False, force_check=False):
     return ICredential.isValid(self, validity, log, force_check)