mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 00:41:25 -06:00
368c624a74
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
51 lines
1.5 KiB
HTML
51 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>IPA: Identity Policy Audit</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../ui/jquery-ui.css" />
|
|
<link rel="stylesheet" type="text/css" href="../ui/ipa.css" />
|
|
</head>
|
|
|
|
<body class="info-page">
|
|
|
|
<div class="container_1">
|
|
<div class="header-logo">
|
|
<img src="../ui/images/ipa-logo.png" /><img src="../ui/images/ipa-banner.png" />
|
|
</div>
|
|
<div class="textblock">
|
|
<h1>Password Migration</h1>
|
|
<p>If you have been sent here by your administrator, your personal
|
|
information is being migrated to a new identity management solution
|
|
(IPA).</p>
|
|
<p>Please, enter your credentials in the form below to complete the
|
|
process. Upon successful login your kerberos account will be
|
|
activated.</p>
|
|
</div>
|
|
<div id="formwindow">
|
|
<h2>Login</h2>
|
|
<form id="login" action="migration.py" method="post" name="">
|
|
<ul>
|
|
<li>
|
|
<label for="username">Username:</label>
|
|
<input type="text" name="username" value="" accesskey="u" />
|
|
</li>
|
|
<li>
|
|
<label for="password">Password:</label>
|
|
<input type="password" name="password" value="" accesskey="p" />
|
|
</li>
|
|
<ul>
|
|
<div class="formbutton">
|
|
<input name="submit" value="Migrate" type="submit" />
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|