diff options
author | Petr VobornÃk <pvoborni@redhat.com> | 2012-02-27 15:31:20 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-03-02 11:04:33 +0100 |
commit | 368c624a7445f6d3a34993a3835026bb383506e4 (patch) | |
tree | 86314eb4ba98b14a317f72a80fd17f210c6d9207 /install/ui/Makefile.am | |
parent | 95b85f6384637e6c5c79a8567de3583e7d3af046 (diff) | |
download | freeipa.git-368c624a7445f6d3a34993a3835026bb383506e4.tar.gz freeipa.git-368c624a7445f6d3a34993a3835026bb383506e4.tar.xz freeipa.git-368c624a7445f6d3a34993a3835026bb383506e4.zip |
Forms based authentication UI
Support for forms based authentication was added to UI.
It consist of:
1) new login page
Page url is [ipa server]/ipa/ui/login.html
Page contains a login form. For authentication it sends ajax request at [ipa server]/session/json/login_password. If authentication is successfull page is redirected to [ipa server]/ipa/ui if it fails from whatever reason a message is shown.
2) new enhanced error dialog - authorization_dialog.
This dialog is displayed when user is not authorized to perform action - usually when ticket and session expires.
It is a standard error dialog which shows kerberos ticket related error message and newly offers (as a link) to use form based authentication. If user click on the link, the dialog content and buttons switch to login dialog which has same functionality as 'new login page'. User is able to return back to the error message by clicking on a back button.
login.html uses same css styles as migration page -> ipa-migration.css was merged into ipa.css.
https://fedorahosted.org/freeipa/ticket/2450
Diffstat (limited to 'install/ui/Makefile.am')
-rw-r--r-- | install/ui/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install/ui/Makefile.am b/install/ui/Makefile.am index a4d083ac..6e019ecd 100644 --- a/install/ui/Makefile.am +++ b/install/ui/Makefile.am @@ -38,6 +38,8 @@ app_DATA = \ jquery.js \ jquery.ordered-map.js \ json2.js \ + login.html \ + login.js \ logout.html \ navigation.js \ net.js \ |