config_method split into config_method and config_method_with_cred<>

This commit is contained in:
2016-07-21 22:01:08 +02:00
parent ac88d55fe4
commit 6ae8029a47
20 changed files with 567 additions and 332 deletions

View File

@@ -40,7 +40,7 @@ namespace eap
namespace eap
{
class config_method_pap : public config_method
class config_method_pap : public config_method_with_cred<credentials_pap>
{
public:
///
@@ -89,11 +89,6 @@ namespace eap
///
virtual config* clone() const;
///
/// Makes new set of credentials for the given method type
///
virtual credentials* make_credentials() const;
///
/// Returns EAP method type of this configuration
///