-rw-r--r-- | core/settings/security/demo/main.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/core/settings/security/demo/main.cpp b/core/settings/security/demo/main.cpp index d853872..1c49f57 100644 --- a/core/settings/security/demo/main.cpp +++ b/core/settings/security/demo/main.cpp | |||
@@ -2,21 +2,11 @@ | |||
2 | 2 | ||
3 | #include <opie2/oapplication.h> | 3 | #include <opie2/oapplication.h> |
4 | 4 | ||
5 | /// main() function of the opie-multiauth-standalone demonstration application | 5 | /// Run an authentication sequence using the global opie-security settings |
6 | /** | ||
7 | * Calls each plugin one after the other, and asks them to perform one authentication. | ||
8 | * It loads the plugins one after another through the MultiauthPluginInterface, | ||
9 | * then calls MultiauthPluginObject::authenticate(). | ||
10 | * \em Note: calls are not parsed by doxygen since they are done via a QInterfacePtr: | ||
11 | * \see http://dudu.dyn.2-h.org/nist/doxydoc/allOpie//classQInterfacePtr.html | ||
12 | */ | ||
13 | int main( int argc, char ** argv ) | 6 | int main( int argc, char ** argv ) |
14 | { | 7 | { |
15 | Opie::Core::OApplication app(argc, argv, "Multi-authentication demo"); | 8 | Opie::Core::OApplication app(argc, argv, "Multi-authentication demo"); |
16 | 9 | ||
17 | /* | 10 | // Run the authentication process until it succeeds |
18 | * Run authentication and retursn if successfull | ||
19 | * This uses the global settings | ||
20 | */ | ||
21 | Opie::Security::MultiauthPassword::authenticate(); | 11 | Opie::Security::MultiauthPassword::authenticate(); |
22 | } | 12 | } |