+ logger.debug("Auth.checkCredentials with %d creds on hrns=%s"%(len(creds),hrns))
+ # won't work if either creds or hrns is empty - let's make it more explicit
+ if not creds: raise InsufficientRights("Access denied - no credential provided")
+ if not hrns: hrns = [None]