Add optional getauthinfo and setauthinfo authentication service calls.

These are disabled by default, as before.  Please only turn these on in secure grids, since they allow the same facilities as the existing SetPassword call (also disabled by default)
These facilities can be helpful when integrating external systems, in addition to the existing option of adapting an IAuthenticationService or using WebLoginKey
This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-24 21:34:44 +01:00
parent b868328d51
commit 4c9400e646
9 changed files with 193 additions and 5 deletions

View File

@@ -236,6 +236,16 @@ namespace OpenSim.Services.Connectors.SimianGrid
return false;
}
public AuthInfo GetAuthInfo(UUID principalID)
{
throw new NotImplementedException();
}
public bool SetAuthInfo(AuthInfo info)
{
throw new NotImplementedException();
}
private bool CheckPassword(UUID userID, string password, string simianGridCredential, out string authorizeResult)
{
if (simianGridCredential.Contains(":"))