aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
diff options
context:
space:
mode:
authorMelanie2012-08-15 23:31:38 +0200
committerMelanie2012-08-15 23:31:38 +0200
commitc313de630f2fec6793da2bc1f51dd54be82cb3e8 (patch)
tree5c8b5800bc1cbad6c2d882deba0ba93aac21f2b3 /OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
parentImplementing PRIM_LINK_TARGET in a non-recursive fashion (diff)
downloadopensim-SC-c313de630f2fec6793da2bc1f51dd54be82cb3e8.zip
opensim-SC-c313de630f2fec6793da2bc1f51dd54be82cb3e8.tar.gz
opensim-SC-c313de630f2fec6793da2bc1f51dd54be82cb3e8.tar.bz2
opensim-SC-c313de630f2fec6793da2bc1f51dd54be82cb3e8.tar.xz
Add a real_id field to the login response if impersonation is used. The wrapper
script needs this for proper logging.
Diffstat (limited to 'OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs')
-rw-r--r--OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs b/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
index d02ff9b..47b4fa6 100644
--- a/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
@@ -60,6 +60,13 @@ namespace OpenSim.Services.AuthenticationService
60 { 60 {
61 } 61 }
62 62
63 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
64 {
65 realID = UUID.Zero;
66
67 return Authenticate(principalID, password, lifetime);
68 }
69
63 public string Authenticate(UUID principalID, string password, int lifetime) 70 public string Authenticate(UUID principalID, string password, int lifetime)
64 { 71 {
65 if (new UUID(password) == UUID.Zero) 72 if (new UUID(password) == UUID.Zero)