This file is indexed.

/usr/include/Wt/Auth/PasswordPromptDialog is in libwt-dev 3.3.0-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2011 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WT_AUTH_PASSWORD_PROMPT_DIALOG_H_
#define WT_AUTH_PASSWORD_PROMPT_DIALOG_H_

#include <Wt/WDialog>

namespace Wt {

class WPushButton;
class WTemplateFormView;

  namespace Auth {

class AuthModel;
class Login;

/*! \class PasswordPromptDialog Wt/Auth/PasswordPromptDialog
 *  \brief A dialog that prompts for the user password.
 *
 * This is a simple dialog, useful for prompting the user to enter his
 * password. This may be convenient for example to let the user upgrade
 * from a weak authentication to a strong authentication.
 *
 * The dialog uses a Login object to get the currently identified
 * user, and also sets the result of the login process by calling
 * Login::login() on this object.
 *
 * The dialog renders the <tt>"Wt.Auth.template.password-prompt"</tt>
 * template.
 *
 * \ingroup auth
 */
class WT_API PasswordPromptDialog : public WDialog
{
public:
  /*! \brief Constructor.
   *
   * From the passed \p login object, the dialog obtains the User for
   * which a valid password needs to be entered. The result, if successful,
   * is signalled using Login::login().
   */
  PasswordPromptDialog(Login& login, AuthModel *model);

protected:
  Login& login_;
  AuthModel *model_;

  WTemplateFormView *impl_;

  void check();
};

  }
}

#endif // WT_AUTH_PASSWORD_PROMPT_DIALOG_H_