Ignore:
Timestamp:
05/05/09 14:55:10 (12 years ago)
Author:
asimon
Message:

error correction (ticket #537)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.Core/3.2/PermissionManager.cs

    r1737 r1738  
    99using HeuristicLab.PluginInfrastructure;
    1010using System.Security.Cryptography;
     11using System.ServiceModel;
    1112
    1213namespace HeuristicLab.Security.Core {
     
    6061        User user = userAdapter.GetByLogin(userName);
    6162
    62         if (user != null && 
     63        if (user != null &&
    6364            user.Password.Equals(password)) {
    6465          Guid newSessionId = Guid.NewGuid();
     
    6869        } else return Guid.Empty;
    6970      }
     71      catch (Exception ex) { throw new FaultException("Server: " + ex.Message); }
    7072      finally {
    7173        if (session != null)
     
    100102          else return false;
    101103        }
     104        catch (Exception ex) { throw new FaultException("Server: " + ex.Message); }
    102105        finally {
    103106          if (session != null)
Note: See TracChangeset for help on using the changeset viewer.