diff options
author | Justin Clark-Casey (justincc) | 2011-10-24 21:34:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-24 21:40:36 +0100 |
commit | 4c9400e6460a73baa2d687afe73a62c6efca9f37 (patch) | |
tree | 9302270fbf46288ef5aeccbac0c0925e6f1a118b /OpenSim/Region/CoreModules | |
parent | Comment out the uuid gatherer lines that I accidentally left in. (diff) | |
download | opensim-SC_OLD-4c9400e6460a73baa2d687afe73a62c6efca9f37.zip opensim-SC_OLD-4c9400e6460a73baa2d687afe73a62c6efca9f37.tar.gz opensim-SC_OLD-4c9400e6460a73baa2d687afe73a62c6efca9f37.tar.bz2 opensim-SC_OLD-4c9400e6460a73baa2d687afe73a62c6efca9f37.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs index acc362b..9484a5a 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs | |||
@@ -158,7 +158,16 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authentication | |||
158 | return m_AuthenticationService.SetPassword(principalID, passwd); | 158 | return m_AuthenticationService.SetPassword(principalID, passwd); |
159 | } | 159 | } |
160 | 160 | ||
161 | #endregion | 161 | public AuthInfo GetAuthInfo(UUID principalID) |
162 | { | ||
163 | return m_AuthenticationService.GetAuthInfo(principalID); | ||
164 | } | ||
162 | 165 | ||
166 | public bool SetAuthInfo(AuthInfo info) | ||
167 | { | ||
168 | return m_AuthenticationService.SetAuthInfo(info); | ||
169 | } | ||
170 | |||
171 | #endregion | ||
163 | } | 172 | } |
164 | } | 173 | } |