summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/orbsvcs/Security/SL3_CredentialsAcquirerFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/orbsvcs/orbsvcs/Security/SL3_CredentialsAcquirerFactory.h')
-rw-r--r--trunk/TAO/orbsvcs/orbsvcs/Security/SL3_CredentialsAcquirerFactory.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/orbsvcs/Security/SL3_CredentialsAcquirerFactory.h b/trunk/TAO/orbsvcs/orbsvcs/Security/SL3_CredentialsAcquirerFactory.h
new file mode 100644
index 00000000000..6320a50b252
--- /dev/null
+++ b/trunk/TAO/orbsvcs/orbsvcs/Security/SL3_CredentialsAcquirerFactory.h
@@ -0,0 +1,68 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file SL3_CredentialsAcquirerFactory.h
+ *
+ * $Id$
+ *
+ * @author Ossama Othman <ossama@dre.vanderbilt.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_SL3_CREDENTIALS_ACQUIRER_FACTORY_H
+#define TAO_SL3_CREDENTIALS_ACQUIRER_FACTORY_H
+
+#include /**/ "ace/pre.h"
+
+#include "orbsvcs/Security/security_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "orbsvcs/Security/SL3_CredentialsCurator.h"
+
+#include "orbsvcs/SecurityLevel3C.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace TAO
+{
+ namespace SL3
+ {
+
+ /**
+ * @class CredentialsAcquirerFactory
+ *
+ * @brief Abstract base class for all concrete
+ * CredentialsAcquirerFactory implementations.
+ *
+ * All concrete CredentialsAcquirerFactory classes must implement
+ * this interface.
+ */
+ class TAO_Security_Export CredentialsAcquirerFactory
+ {
+ public:
+
+ /// Destructor.
+ virtual ~CredentialsAcquirerFactory (void);
+
+ /// Create a TAO::SL3::CredentialsAcquirerFactory.
+ virtual SecurityLevel3::CredentialsAcquirer_ptr make (
+ TAO::SL3::CredentialsCurator_ptr curator,
+ const CORBA::Any & acquisition_arguments
+ ACE_ENV_ARG_DECL) = 0;
+
+ };
+
+ } // End SL3 namespace
+} // End TAO namespace
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_SL3_CREDENTIALS_ACQUIRER_FACTORY_H */