summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_sspi_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_auth_sspi_win.h')
-rw-r--r--net/http/http_auth_sspi_win.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_auth_sspi_win.h b/net/http/http_auth_sspi_win.h
index 1c8b741..482ab6b 100644
--- a/net/http/http_auth_sspi_win.h
+++ b/net/http/http_auth_sspi_win.h
@@ -96,6 +96,11 @@ class HttpAuthSSPI {
const std::wstring& spn,
std::string* auth_token);
+ // Delegation is allowed on the Kerberos ticket. This allows certain servers
+ // to act as the user, such as an IIS server retrieiving data from a
+ // Kerberized MSSQL server.
+ void Delegate();
+
private:
int OnFirstRound(const string16* username,
const string16* password);
@@ -116,6 +121,7 @@ class HttpAuthSSPI {
ULONG max_token_length_;
CredHandle cred_;
CtxtHandle ctxt_;
+ bool can_delegate_;
};
// Splits |combined| into domain and username.