0
votes

I need to change the behaviour of the login-page of OpenStack. I am working on an alternatively way to authenticate an user. I use no more name and password. It works on command line but I have to use it also in the graphically part (horizon). I should change the action performed when I click the LogIn button, but I can not find where is the implementation of that action: which is the function called by Horizon to authenticate an user? My aim is to call my new keystone functions to get the token, but I can not find which horizon's function calls keystone.

[UPDATED QUESTION]

the *../horizon/views/auth_forms.py* defines how the login page is defined. Where does its class Login is called? I need to modify the code that starts the login page creation

1

1 Answers

3
votes

Horizon instantiates an entire class set for keystone interaction.

checkout horizon/openstack_dashboard/api/keystone.py

it mostly uses the python-keystoneclient api set.

You may want to also check out http://docs.openstack.org/developer/horizon/topics/customizing.html