Massive tab and trailing space cleanup

This commit is contained in:
Melanie Thielker
2017-01-05 19:07:37 +00:00
parent e88e2945e9
commit b16abc8166
959 changed files with 23646 additions and 23646 deletions

View File

@@ -37,7 +37,7 @@ using OpenMetaverse;
namespace OpenSim.Services.Connectors
{
public class AuthorizationServicesConnector
public class AuthorizationServicesConnector
{
private static readonly ILog m_log =
LogManager.GetLogger(
@@ -45,7 +45,7 @@ namespace OpenSim.Services.Connectors
private string m_ServerURI = String.Empty;
private bool m_ResponseOnFailure = true;
public AuthorizationServicesConnector()
{
}
@@ -78,11 +78,11 @@ namespace OpenSim.Services.Connectors
throw new Exception("Authorization connector init error");
}
m_ServerURI = serviceURI;
// this dictates what happens if the remote service fails, if the service fails and the value is true
// the user is authorized for the region.
bool responseOnFailure = authorizationConfig.GetBoolean("ResponseOnFailure",true);
m_ResponseOnFailure = responseOnFailure;
m_log.Info("[AUTHORIZATION CONNECTOR]: AuthorizationService initialized");
}
@@ -91,11 +91,11 @@ namespace OpenSim.Services.Connectors
{
// do a remote call to the authorization server specified in the AuthorizationServerURI
m_log.InfoFormat("[AUTHORIZATION CONNECTOR]: IsAuthorizedForRegion checking {0} at remote server {1}", userID, m_ServerURI);
string uri = m_ServerURI;
AuthorizationRequest req = new AuthorizationRequest(userID, firstname, surname, email, regionName, regionID);
AuthorizationResponse response;
try
{
@@ -114,7 +114,7 @@ namespace OpenSim.Services.Connectors
}
m_log.DebugFormat("[AUTHORIZATION CONNECTOR] response from remote service was {0}", response.Message);
message = response.Message;
return response.IsAuthorized;
}