EAP-GTC implementation continues...
This commit is contained in:
@@ -101,7 +101,7 @@ namespace eap
|
||||
|
||||
///
|
||||
/// @copydoc eap::config_method::make_credentials()
|
||||
/// \returns This implementation always returns `eap::credentials` type of credentials
|
||||
/// \returns This implementation always returns `eap::credentials_identity` type of credentials
|
||||
///
|
||||
virtual credentials* make_credentials() const;
|
||||
};
|
||||
|
@@ -50,7 +50,7 @@ namespace eap
|
||||
/// \param[in] cfg Method configuration
|
||||
/// \param[in] cred User credentials
|
||||
///
|
||||
method_gtc(_In_ module &mod, _In_ config_method_eapgtc &cfg, _In_ credentials &cred);
|
||||
method_gtc(_In_ module &mod, _In_ config_method_eapgtc &cfg, _In_ credentials_identity &cred);
|
||||
|
||||
///
|
||||
/// Moves a GTC method
|
||||
@@ -111,7 +111,7 @@ namespace eap
|
||||
|
||||
protected:
|
||||
config_method_eapgtc &m_cfg; ///< Method configuration
|
||||
credentials &m_cred; ///< Method user credentials
|
||||
credentials_identity &m_cred; ///< Method user credentials
|
||||
winstd::sanitizing_wstring m_message; ///< Authenticator message
|
||||
winstd::sanitizing_wstring m_reply; ///< GTC reply
|
||||
};
|
||||
|
@@ -30,7 +30,7 @@ using namespace winstd;
|
||||
|
||||
eap::config_method_eapgtc::config_method_eapgtc(_In_ module &mod, _In_ unsigned int level) : config_method_with_cred(mod, level)
|
||||
{
|
||||
m_cred.reset(new credentials(mod));
|
||||
m_cred.reset(new credentials_identity(mod));
|
||||
}
|
||||
|
||||
|
||||
@@ -84,5 +84,5 @@ const wchar_t* eap::config_method_eapgtc::get_method_str() const
|
||||
|
||||
eap::credentials* eap::config_method_eapgtc::make_credentials() const
|
||||
{
|
||||
return new eap::credentials(m_module);
|
||||
return new eap::credentials_identity(m_module);
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ using namespace winstd;
|
||||
// eap::method_gtc
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
eap::method_gtc::method_gtc(_In_ module &mod, _In_ config_method_eapgtc &cfg, _In_ credentials &cred) :
|
||||
eap::method_gtc::method_gtc(_In_ module &mod, _In_ config_method_eapgtc &cfg, _In_ credentials_identity &cred) :
|
||||
m_cfg(cfg),
|
||||
m_cred(cred),
|
||||
method(mod)
|
||||
|
Reference in New Issue
Block a user