Hello,
What kind of password are you using? Owlready uses Python module urllib and urllib.request.urlopen() for loading ontologies, so you can use install_opener() for Basic HTTP Authentication.
Here is an example from the Python doc:
import urllib.request
# Create an OpenerDirector with support for Basic HTTP Authentication...
auth_handler = urllib.request.HTTPBasicAuthHandler()
auth_handler.add_password(realm='PDQ Application', uri='
https://mahler:8092/site-updates.py', user='klem', passwd='kadidd!ehopper')
opener = urllib.request.build_opener(auth_handler)
# ...and install it globally so it can be used with urlopen.
urllib.request.install_opener(opener)
urllib.request.urlopen('
http://www.example.com/login.html')
Instead of calling urllib.request.urlopen() at the end, you can call get_ontology(), which in turn call urlopen().
Jiba