|
1 <!DOCTYPE html> |
|
2 <!-- :mode=html: --> |
|
3 <html> |
|
4 <head> |
|
5 <meta http-equiv="pragma" content="no-cache" /> |
|
6 <title>WebAuth Error</title> |
|
7 <link rel="stylesheet" type="text/css" href="images/bootstrap/css/bootstrap.min.css" /> |
|
8 <link rel="stylesheet" type="text/css" href="images/ssoinabox.css" /> |
|
9 </head> |
|
10 |
|
11 [% IF notdefined %] |
|
12 <!-- |
|
13 This is the template for the WebAuth error page. It is displayed whenever |
|
14 the login.fcgi script on the weblogin server encounters an error. |
|
15 Variables used: |
|
16 |
|
17 err_bad_method : browser submitted login page via GET not POST |
|
18 err_cookies_disabled : cookies disabled in the web browser |
|
19 err_no_request_token : no request token (user went straight to weblogin) |
|
20 err_sendauth : sendauth function returned non-zero status |
|
21 err_no_mfactor : site requested multifactor, user has none |
|
22 err_insufficient_mfactor : site requested higher multifactor than user has |
|
23 err_insufficient_loa : site requested higher LoA than user has |
|
24 err_webkdc : the WebKDC returned an error |
|
25 err_msg : error message from WebKDC |
|
26 multifactor_required : level of multifactor required for the destination |
|
27 multifactor_configured : level of multifactor set up by the user |
|
28 login_cancel : a cancel URL was specified |
|
29 cancel_url : the specified cancel URL |
|
30 --> |
|
31 [% END %] |
|
32 |
|
33 <body> |
|
34 <div class="well login-form"> |
|
35 <h1> |
|
36 <img alt="SSO in a Box" src="images/ssoinabox.png" /> |
|
37 </h1> |
|
38 <div class="loginbox"> |
|
39 <div class="alert alert-error"> |
|
40 <!-- Error: browser submitted login page via GET --> |
|
41 [% IF err_bad_method %] |
|
42 Error: Login form not properly submitted. |
|
43 Your browser has improperly submitted the login form |
|
44 via GET instead of POST, which risks exposing your |
|
45 password in your browser history and to other web sites |
|
46 you visit. Please check that your browser is not |
|
47 misconfigured and you do not use browser plugins that |
|
48 override proper form handling. |
|
49 [% END %] |
|
50 |
|
51 <!-- Error: cookies disabled in web browser --> |
|
52 [% IF err_cookies_disabled %] |
|
53 Error: You must enable cookies on your web browser. |
|
54 You have just tried to access a web service that is |
|
55 protected by WebAuth. However, WebAuth is unable to |
|
56 tell this web service who you are because your browser |
|
57 has cookies disabled. |
|
58 WebAuth depends on cookies to communicate with your web |
|
59 service. Please enable cookies in your web browser. |
|
60 [% END %] |
|
61 |
|
62 <!-- Error: no response token --> |
|
63 [% IF err_no_request_token %] |
|
64 Error: The URL given is incomplete. |
|
65 [% END %] |
|
66 |
|
67 <!-- Error: missing data when redisplaying the confirm page --> |
|
68 [% IF err_confirm %] |
|
69 Error: Necessary form data was missing. |
|
70 You have probably accessed a stale cached page by |
|
71 mistake. |
|
72 [% END %] |
|
73 |
|
74 <!-- Error: multifactor required, user has none set up --> |
|
75 [% IF err_no_mfactor %] |
|
76 Error: Multifactor is required for the destination site |
|
77 but you have none set up to use. |
|
78 [% END %] |
|
79 |
|
80 <!-- Error: higher multifactor level required than user has --> |
|
81 [% IF err_insufficient_mfactor %] |
|
82 Error: The destination site requires a higher level of |
|
83 multifactor than you have set up. |
|
84 The site requires one of the following levels:<br /> |
|
85 [% FOREACH level IN multifactor_required %] |
|
86 [% level %]<br /> |
|
87 [% END %] |
|
88 |
|
89 Your level of multifactor is only:<br /> |
|
90 [% FOREACH level IN multifactor_configured %] |
|
91 [% level %]<br /> |
|
92 [% END %] |
|
93 |
|
94 [% IF login_cancel %] |
|
95 <a href="[% cancel_url %]">Cancel</a> |
|
96 logging on to this service |
|
97 [% END %] |
|
98 [% END %] |
|
99 |
|
100 <!-- Error: higher LoA required than user has --> |
|
101 [% IF err_insufficient_loa %] |
|
102 Error: The destination site requires a higher level of |
|
103 assurance than you have set up. |
|
104 [% IF login_cancel %] |
|
105 <a href="[% cancel_url %]">Cancel</a> |
|
106 logging on to this service |
|
107 [% END %] |
|
108 [% END %] |
|
109 |
|
110 <!-- Error: sendauth failed to run successfully --> |
|
111 [% IF err_sendauth %] |
|
112 Error: Unable to send authentication code. |
|
113 There was an internal error while attempting to send you |
|
114 an authentication code. |
|
115 [% END %] |
|
116 |
|
117 [% IF err_webkdc %] |
|
118 Error: [% err_msg FILTER html %] |
|
119 [% END %] |
|
120 </div> |
|
121 </div> |
|
122 </div> |
|
123 </body> |
|
124 </html> |