- Timestamp:
- 05/05/09 14:55:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.Core/3.2/PermissionManager.cs
r1737 r1738 9 9 using HeuristicLab.PluginInfrastructure; 10 10 using System.Security.Cryptography; 11 using System.ServiceModel; 11 12 12 13 namespace HeuristicLab.Security.Core { … … 60 61 User user = userAdapter.GetByLogin(userName); 61 62 62 if (user != null && 63 if (user != null && 63 64 user.Password.Equals(password)) { 64 65 Guid newSessionId = Guid.NewGuid(); … … 68 69 } else return Guid.Empty; 69 70 } 71 catch (Exception ex) { throw new FaultException("Server: " + ex.Message); } 70 72 finally { 71 73 if (session != null) … … 100 102 else return false; 101 103 } 104 catch (Exception ex) { throw new FaultException("Server: " + ex.Message); } 102 105 finally { 103 106 if (session != null)
Note: See TracChangeset
for help on using the changeset viewer.