summaryrefslogtreecommitdiffstats
path: root/pki/dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_hsmloginpanel.vm
blob: dc2dd60b2e50d751c4afbc413e5ceece8c1f7531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!-- --- BEGIN COPYRIGHT BLOCK ---
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Lesser General Public
     License as published by the Free Software Foundation.
     
     This library is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Lesser General Public License for more details.
     
     You should have received a copy of the GNU Lesser General Public
     License along with this library; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA  02110-1301  USA 
     
     Copyright (C) 2007 Red Hat, Inc.
     All rights reserved.
     --- END COPYRIGHT BLOCK --- -->
<SCRIPT LANGUAGE="JavaScript">
function myOnLoad() {
}

function performPanel() {
    with (document.forms[0]) {
        submit();
    }
}
</SCRIPT>
  <h1>
  Security Modules Login Panel</h1>
Keys will be generated and stored on security modules. A security module can be hardware-based or software-based. Hardware-based security modules are more secure.
<p>
<H2>Security Token Login</H2>
<form name=configHSMLoginForm action="config_hsmlogin" method="post">
<p>
The user has chosen to login to the following security module: <b>$SecToken</b>
<p>
#if ($status == "alreadyLoggedIn")
	Token already logged in.
#else
   #if ($status == "tokenPasswordNotInitialized")
	Token password not initialized.
   #else
      #if ($status == "justLoggedIn")
          Token logged in successfully.
      #else
<table>
<tr>
  <td>
Security Module Token Name: <b><input type=text name="uTokName" value="$SecToken"></b>
  </td>
</tr>
<tr>
  <td>
Security Module Token Password: <input type=password name="__uPasswd" value="" autocomplete="off">
  </td>
<tr>
</tr>
</table>
<p>
      #end
    #end
#end

<table width=100%>
<tr bgcolor="#eeeeee">
  <td>

  </td>
</tr>
</table>
	</td>
      </tr>
    </table>

    <p>
                                                                                
    <div align="right">
      <hr />
      &nbsp;
    </div>