Closed faux-eccles closed 7 years ago
thx @lankyninja , indeed I have something similar in mind when another identity provider (Authority) comes into the picture
if you find time to submit a PR for such change , that would be great.
Thanks
I have a POC already on my local box. Will create a PR
thanks !
Currently in "aker.py" on line 69:
self.hosts = Hosts(username,gateway_hostgroup)
This will return an object for the FreeIPA integration (Which I will refer to as an authority), which implements a method that will return a list of hostnames.
I suggest a change that would allow mutliple authorities to be implemented, and chosen via configuration.
Hosts.py
list_allowed()
, etc)Aker.py
self.hosts = AuthorityFactory.getAuthority("IPA")(username,gateway_hostgroup)