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/test | |
parent | 95b85f6384637e6c5c79a8567de3583e7d3af046 (diff) | |
download | freeipa-368c624a7445f6d3a34993a3835026bb383506e4.tar.gz freeipa-368c624a7445f6d3a34993a3835026bb383506e4.tar.xz freeipa-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/test')
-rw-r--r-- | install/ui/test/data/ipa_init.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index e5b4be169..0182aab73 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -46,6 +46,7 @@ "add_and_close": "Add and Close", "add_and_edit": "Add and Edit", "add_many": "Add Many", + "back": "Back", "cancel": "Cancel", "close": "Close", "edit": "Edit", @@ -110,9 +111,14 @@ }, "false": "False", "login": { + "form_auth": "form-based authentication", "header": "Logged In As", + "login": "Login", "logout": "Logout", - "logout_error": "Logout error" + "logout_error": "Logout error", + "password": "Password", + "use": "Or you can use ", + "username": "Username" }, "objects": { "aci": { |