Commit 6208eafe authored by Claudio Cacciari's avatar Claudio Cacciari
Browse files

added support for http endpoints and OAuth2 PAM configuration

parent 32b78434
#!/usr/bin/env python
#
# * use 4 spaces!!! not tabs
# * See PEP-8 Python style guide http://www.python.org/dev/peps/pep-0008/
# * use pylint
#
import json
user_map_file="/etc/irods/user_map.json"
def parseUserMap():
"""Parse the user map file"""
with open(user_map_file, 'r') as f:
user_map = json.load(f)
jstr = json.dumps(user_map, ensure_ascii=True, indent=4)
print(jstr)
if __name__ == "__main__":
parseUserMap()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment