aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ServiceAuth/IServiceAuth.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2015-03-16 23:40:34 +0000
committerJustin Clark-Casey (justincc)2015-03-16 23:40:34 +0000
commiteda09d87635683d92d1661f6bbedf678c879c08f (patch)
treec83df2e80607735bfe6641864e936902c697d7c2 /OpenSim/Framework/ServiceAuth/IServiceAuth.cs
parentUpdate version info to 0.8.2.0 (diff)
downloadopensim-SC-eda09d87635683d92d1661f6bbedf678c879c08f.zip
opensim-SC-eda09d87635683d92d1661f6bbedf678c879c08f.tar.gz
opensim-SC-eda09d87635683d92d1661f6bbedf678c879c08f.tar.bz2
opensim-SC-eda09d87635683d92d1661f6bbedf678c879c08f.tar.xz
Fix XBakes simulator-side authentication regression failure
Unlike the other connectors, XBakes uses a service auth retrieved from ServiceAuth.Create() and not code inherited from BaseServiceConnector. Fixes regression from 7d3bafd5 (Wed 4 Mar 2015) where the new CompoundAuthenticator did not implement IServiceAuth.AddAuthorization()
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/ServiceAuth/IServiceAuth.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/ServiceAuth/IServiceAuth.cs b/OpenSim/Framework/ServiceAuth/IServiceAuth.cs
index adde62f..5f744cb 100644
--- a/OpenSim/Framework/ServiceAuth/IServiceAuth.cs
+++ b/OpenSim/Framework/ServiceAuth/IServiceAuth.cs
@@ -34,8 +34,13 @@ namespace OpenSim.Framework.ServiceAuth
34{ 34{
35 public delegate void AddHeaderDelegate(string key, string value); 35 public delegate void AddHeaderDelegate(string key, string value);
36 36
37 public interface IServiceAuth 37 public interface IServiceAuth
38 { 38 {
39 /// <summary>
40 /// Name of this authenticator.
41 /// </summary>
42 string Name { get; }
43
39 bool Authenticate(string data); 44 bool Authenticate(string data);
40 bool Authenticate(NameValueCollection headers, AddHeaderDelegate d, out HttpStatusCode statusCode); 45 bool Authenticate(NameValueCollection headers, AddHeaderDelegate d, out HttpStatusCode statusCode);
41 void AddAuthorization(NameValueCollection headers); 46 void AddAuthorization(NameValueCollection headers);