credentials_ttls::target_suffix() implemented

This commit is contained in:
Simon Rozman 2016-07-21 14:11:59 +02:00
parent df773b649c
commit 98f20668c3
2 changed files with 12 additions and 0 deletions

View File

@ -176,6 +176,11 @@ namespace eap
///
virtual bool retrieve(_In_ LPCTSTR pszTargetName, _Out_ EAP_ERROR **ppEapError);
///
/// Return target suffix for Windows Credential Manager credential name
///
virtual LPCTSTR target_suffix() const;
///
/// Returns credential identity.
///

View File

@ -232,6 +232,13 @@ bool eap::credentials_ttls::retrieve(_In_ LPCTSTR pszTargetName, _Out_ EAP_ERROR
}
LPCTSTR eap::credentials_ttls::target_suffix() const
{
assert(0); // Not that we would ever store inner&outer credentials to Windows Credential Manager joined, but for completness sake... Here we go:
return _T("TTLS");
}
std::wstring eap::credentials_ttls::get_identity() const
{
// Outer identity has the right-of-way.