Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/11 14:39:29 (14 years ago)
Author:
mjesner
Message:

#1196

Location:
branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/Application.cs

    r4962 r5257  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21using System;
    222using System.Collections.Generic;
    323using System.Linq;
    424using System.Text;
     25using HeuristicLab.Core;
     26using HeuristicLab.Common;
    527
    6 namespace HeuristicLab.Services.Authentication
    7 {
    8     public partial class Application
    9     {
     28namespace HeuristicLab.Services.Authentication {
     29  [Item("Application", "An application.")]
     30  public partial class Application {
     31    protected Application(Application original, Cloner cloner)
     32      : base(original, cloner) {
     33
    1034    }
     35
     36    public Application() {
     37    }
     38
     39    public override IDeepCloneable Clone(Cloner cloner) {
     40      return new Application(this, cloner);
     41    }
     42  }
    1143}
  • branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/AuthenticationServiceClient.cs

    r4979 r5257  
    1 //------------------------------------------------------------------------------
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21//------------------------------------------------------------------------------
    222// <auto-generated>
    3 //     Dieser Code wurde von einem Tool generiert.
    4 //     Laufzeitversion:4.0.30319.1
     23//     This code was generated by a tool.
     24//     Runtime Version:4.0.30319.1
    525//
    6 //     Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
    7 //     der Code erneut generiert wird.
     26//     Changes to this file may cause incorrect behavior and will be lost if
     27//     the code is regenerated.
    828// </auto-generated>
    929//------------------------------------------------------------------------------
    1030
    11 namespace HeuristicLab.Services.Authentication
    12 {
    13     using System.Runtime.Serialization;
    14    
    15    
    16     [System.Diagnostics.DebuggerStepThroughAttribute()]
    17     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    18     [System.Runtime.Serialization.DataContractAttribute(Name="AuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    19         "Transfer")]
    20     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthenticationItem))]
    21     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
    22     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
    23     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
    24     public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
    25     {
    26        
    27         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
    28        
    29         private System.Guid IdField;
    30        
    31         public System.Runtime.Serialization.ExtensionDataObject ExtensionData
    32         {
    33             get
    34             {
    35                 return this.extensionDataField;
    36             }
    37             set
    38             {
    39                 this.extensionDataField = value;
    40             }
    41         }
    42        
    43         [System.Runtime.Serialization.DataMemberAttribute()]
    44         public System.Guid Id
    45         {
    46             get
    47             {
    48                 return this.IdField;
    49             }
    50             set
    51             {
    52                 if ((this.IdField.Equals(value) != true))
    53                 {
    54                     this.IdField = value;
    55                     this.RaisePropertyChanged("Id");
    56                 }
    57             }
    58         }
    59        
    60         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
    61        
    62         protected void RaisePropertyChanged(string propertyName)
    63         {
    64             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
    65             if ((propertyChanged != null))
    66             {
    67                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
    68             }
    69         }
    70     }
    71    
    72     [System.Diagnostics.DebuggerStepThroughAttribute()]
    73     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    74     [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    75         "Transfer")]
    76     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
    77     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
    78     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
    79     public partial class NamedAuthenticationItem : HeuristicLab.Services.Authentication.AuthenticationItem
    80     {
    81        
    82         private string NameField;
    83        
    84         [System.Runtime.Serialization.DataMemberAttribute()]
    85         public string Name
    86         {
    87             get
    88             {
    89                 return this.NameField;
    90             }
    91             set
    92             {
    93                 if ((object.ReferenceEquals(this.NameField, value) != true))
    94                 {
    95                     this.NameField = value;
    96                     this.RaisePropertyChanged("Name");
    97                 }
    98             }
    99         }
    100     }
    101    
    102     [System.Diagnostics.DebuggerStepThroughAttribute()]
    103     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    104     [System.Runtime.Serialization.DataContractAttribute(Name="Role", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    105         "Transfer")]
    106     public partial class Role : HeuristicLab.Services.Authentication.NamedAuthenticationItem
    107     {
    108        
    109         private System.Guid ApplicationIdField;
    110        
    111         private string DescriptionField;
    112        
    113         [System.Runtime.Serialization.DataMemberAttribute()]
    114         public System.Guid ApplicationId
    115         {
    116             get
    117             {
    118                 return this.ApplicationIdField;
    119             }
    120             set
    121             {
    122                 if ((this.ApplicationIdField.Equals(value) != true))
    123                 {
    124                     this.ApplicationIdField = value;
    125                     this.RaisePropertyChanged("ApplicationId");
    126                 }
    127             }
    128         }
    129        
    130         [System.Runtime.Serialization.DataMemberAttribute()]
    131         public string Description
    132         {
    133             get
    134             {
    135                 return this.DescriptionField;
    136             }
    137             set
    138             {
    139                 if ((object.ReferenceEquals(this.DescriptionField, value) != true))
    140                 {
    141                     this.DescriptionField = value;
    142                     this.RaisePropertyChanged("Description");
    143                 }
    144             }
    145         }
    146     }
    147    
    148     [System.Diagnostics.DebuggerStepThroughAttribute()]
    149     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    150     [System.Runtime.Serialization.DataContractAttribute(Name="Application", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    151         "Transfer")]
    152     public partial class Application : HeuristicLab.Services.Authentication.NamedAuthenticationItem
    153     {
    154        
    155         private string DescriptionField;
    156        
    157         [System.Runtime.Serialization.DataMemberAttribute()]
    158         public string Description
    159         {
    160             get
    161             {
    162                 return this.DescriptionField;
    163             }
    164             set
    165             {
    166                 if ((object.ReferenceEquals(this.DescriptionField, value) != true))
    167                 {
    168                     this.DescriptionField = value;
    169                     this.RaisePropertyChanged("Description");
    170                 }
    171             }
    172         }
    173     }
    174    
    175     [System.Diagnostics.DebuggerStepThroughAttribute()]
    176     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    177     [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    178         "Transfer")]
    179     public partial class User : HeuristicLab.Services.Authentication.NamedAuthenticationItem
    180     {
    181        
    182         private System.Guid ApplicationIdField;
    183        
    184         private string CommentField;
    185        
    186         private System.DateTime CreateDateField;
    187        
    188         private string EmailField;
    189        
    190         private bool IsApprovedField;
    191        
    192         private bool IsLookedOutField;
    193        
    194         private System.DateTime LastActivityDateField;
    195        
    196         private System.DateTime LastLockoutDateField;
    197        
    198         private System.DateTime LastLoginDateField;
    199        
    200         private System.DateTime LastPasswordChangeDateField;
    201        
    202         private string PasswordField;
    203        
    204         private string PasswordSaltField;
    205        
    206         [System.Runtime.Serialization.DataMemberAttribute()]
    207         public System.Guid ApplicationId
    208         {
    209             get
    210             {
    211                 return this.ApplicationIdField;
    212             }
    213             set
    214             {
    215                 if ((this.ApplicationIdField.Equals(value) != true))
    216                 {
    217                     this.ApplicationIdField = value;
    218                     this.RaisePropertyChanged("ApplicationId");
    219                 }
    220             }
    221         }
    222        
    223         [System.Runtime.Serialization.DataMemberAttribute()]
    224         public string Comment
    225         {
    226             get
    227             {
    228                 return this.CommentField;
    229             }
    230             set
    231             {
    232                 if ((object.ReferenceEquals(this.CommentField, value) != true))
    233                 {
    234                     this.CommentField = value;
    235                     this.RaisePropertyChanged("Comment");
    236                 }
    237             }
    238         }
    239        
    240         [System.Runtime.Serialization.DataMemberAttribute()]
    241         public System.DateTime CreateDate
    242         {
    243             get
    244             {
    245                 return this.CreateDateField;
    246             }
    247             set
    248             {
    249                 if ((this.CreateDateField.Equals(value) != true))
    250                 {
    251                     this.CreateDateField = value;
    252                     this.RaisePropertyChanged("CreateDate");
    253                 }
    254             }
    255         }
    256        
    257         [System.Runtime.Serialization.DataMemberAttribute()]
    258         public string Email
    259         {
    260             get
    261             {
    262                 return this.EmailField;
    263             }
    264             set
    265             {
    266                 if ((object.ReferenceEquals(this.EmailField, value) != true))
    267                 {
    268                     this.EmailField = value;
    269                     this.RaisePropertyChanged("Email");
    270                 }
    271             }
    272         }
    273        
    274         [System.Runtime.Serialization.DataMemberAttribute()]
    275         public bool IsApproved
    276         {
    277             get
    278             {
    279                 return this.IsApprovedField;
    280             }
    281             set
    282             {
    283                 if ((this.IsApprovedField.Equals(value) != true))
    284                 {
    285                     this.IsApprovedField = value;
    286                     this.RaisePropertyChanged("IsApproved");
    287                 }
    288             }
    289         }
    290        
    291         [System.Runtime.Serialization.DataMemberAttribute()]
    292         public bool IsLookedOut
    293         {
    294             get
    295             {
    296                 return this.IsLookedOutField;
    297             }
    298             set
    299             {
    300                 if ((this.IsLookedOutField.Equals(value) != true))
    301                 {
    302                     this.IsLookedOutField = value;
    303                     this.RaisePropertyChanged("IsLookedOut");
    304                 }
    305             }
    306         }
    307        
    308         [System.Runtime.Serialization.DataMemberAttribute()]
    309         public System.DateTime LastActivityDate
    310         {
    311             get
    312             {
    313                 return this.LastActivityDateField;
    314             }
    315             set
    316             {
    317                 if ((this.LastActivityDateField.Equals(value) != true))
    318                 {
    319                     this.LastActivityDateField = value;
    320                     this.RaisePropertyChanged("LastActivityDate");
    321                 }
    322             }
    323         }
    324        
    325         [System.Runtime.Serialization.DataMemberAttribute()]
    326         public System.DateTime LastLockoutDate
    327         {
    328             get
    329             {
    330                 return this.LastLockoutDateField;
    331             }
    332             set
    333             {
    334                 if ((this.LastLockoutDateField.Equals(value) != true))
    335                 {
    336                     this.LastLockoutDateField = value;
    337                     this.RaisePropertyChanged("LastLockoutDate");
    338                 }
    339             }
    340         }
    341        
    342         [System.Runtime.Serialization.DataMemberAttribute()]
    343         public System.DateTime LastLoginDate
    344         {
    345             get
    346             {
    347                 return this.LastLoginDateField;
    348             }
    349             set
    350             {
    351                 if ((this.LastLoginDateField.Equals(value) != true))
    352                 {
    353                     this.LastLoginDateField = value;
    354                     this.RaisePropertyChanged("LastLoginDate");
    355                 }
    356             }
    357         }
    358        
    359         [System.Runtime.Serialization.DataMemberAttribute()]
    360         public System.DateTime LastPasswordChangeDate
    361         {
    362             get
    363             {
    364                 return this.LastPasswordChangeDateField;
    365             }
    366             set
    367             {
    368                 if ((this.LastPasswordChangeDateField.Equals(value) != true))
    369                 {
    370                     this.LastPasswordChangeDateField = value;
    371                     this.RaisePropertyChanged("LastPasswordChangeDate");
    372                 }
    373             }
    374         }
    375        
    376         [System.Runtime.Serialization.DataMemberAttribute()]
    377         public string Password
    378         {
    379             get
    380             {
    381                 return this.PasswordField;
    382             }
    383             set
    384             {
    385                 if ((object.ReferenceEquals(this.PasswordField, value) != true))
    386                 {
    387                     this.PasswordField = value;
    388                     this.RaisePropertyChanged("Password");
    389                 }
    390             }
    391         }
    392        
    393         [System.Runtime.Serialization.DataMemberAttribute()]
    394         public string PasswordSalt
    395         {
    396             get
    397             {
    398                 return this.PasswordSaltField;
    399             }
    400             set
    401             {
    402                 if ((object.ReferenceEquals(this.PasswordSaltField, value) != true))
    403                 {
    404                     this.PasswordSaltField = value;
    405                     this.RaisePropertyChanged("PasswordSalt");
    406                 }
    407             }
    408         }
    409     }
    410    
    411     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    412     [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Services.Authentication.IAuthenticationService")]
    413     public interface IAuthenticationService
    414     {
    415        
    416         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetUserResponse")]
    417         HeuristicLab.Services.Authentication.User GetUser(System.Guid id);
    418        
    419         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllUsersResponse")]
    420         HeuristicLab.Services.Authentication.User[] GetAllUsers();
    421        
    422         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")]
    423         HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId);
    424        
    425         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUser", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserResponse")]
    426         System.Guid AddUser(HeuristicLab.Services.Authentication.User user);
    427        
    428         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteUserResponse")]
    429         bool DeleteUser(System.Guid id);
    430        
    431         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateUser", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateUserResponse")]
    432         bool UpdateUser(HeuristicLab.Services.Authentication.User user);
    433        
    434         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUserToRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserToRoleResponse")]
    435         bool AddUserToRole(System.Guid roleId, System.Guid userId);
    436        
    437         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
    438         System.Guid[] GetUsersInRole(System.Guid roleId);
    439        
    440         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")]
    441         bool RemoveUserFromRole(System.Guid roleId, System.Guid userId);
    442        
    443         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/IsUserInRole", ReplyAction="http://tempuri.org/IAuthenticationService/IsUserInRoleResponse")]
    444         bool IsUserInRole(System.Guid userId, System.Guid roleId);
    445        
    446         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")]
    447         HeuristicLab.Services.Authentication.Role GetRole(System.Guid id);
    448        
    449         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllRolesResponse")]
    450         HeuristicLab.Services.Authentication.Role[] GetAllRoles();
    451        
    452         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")]
    453         HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId);
    454        
    455         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddRoleResponse")]
    456         System.Guid AddRole(HeuristicLab.Services.Authentication.Role role);
    457        
    458         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
    459         bool UpdateRole(HeuristicLab.Services.Authentication.Role role);
    460        
    461         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteRole", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteRoleResponse")]
    462         bool DeleteRole(System.Guid id);
    463        
    464         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
    465         System.Guid[] GetRolesForUser(System.Guid userId);
    466        
    467         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
    468         HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id);
    469        
    470         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddApplication", ReplyAction="http://tempuri.org/IAuthenticationService/AddApplicationResponse")]
    471         System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application);
    472        
    473         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")]
    474         bool DeleteApplication(System.Guid id);
    475        
    476         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplications", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationsResponse")]
    477         HeuristicLab.Services.Authentication.Application[] GetApplications();
    478        
    479         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateApplication", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateApplicationResponse")]
    480         bool UpdateApplication(HeuristicLab.Services.Authentication.Application application);
    481     }
    482    
    483     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    484     public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.IAuthenticationService, System.ServiceModel.IClientChannel
    485     {
    486     }
    487    
    488     [System.Diagnostics.DebuggerStepThroughAttribute()]
    489     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    490     public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Services.Authentication.IAuthenticationService>, HeuristicLab.Services.Authentication.IAuthenticationService
    491     {
    492        
    493         public AuthenticationServiceClient()
    494         {
    495         }
    496        
    497         public AuthenticationServiceClient(string endpointConfigurationName) :
    498                 base(endpointConfigurationName)
    499         {
    500         }
    501        
    502         public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) :
    503                 base(endpointConfigurationName, remoteAddress)
    504         {
    505         }
    506        
    507         public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
    508                 base(endpointConfigurationName, remoteAddress)
    509         {
    510         }
    511        
    512         public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
    513                 base(binding, remoteAddress)
    514         {
    515         }
    516        
    517         public HeuristicLab.Services.Authentication.User GetUser(System.Guid id)
    518         {
    519             return base.Channel.GetUser(id);
    520         }
    521        
    522         public HeuristicLab.Services.Authentication.User[] GetAllUsers()
    523         {
    524             return base.Channel.GetAllUsers();
    525         }
    526        
    527         public HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId)
    528         {
    529             return base.Channel.GetUsers(applicationId);
    530         }
    531        
    532         public System.Guid AddUser(HeuristicLab.Services.Authentication.User user)
    533         {
    534             return base.Channel.AddUser(user);
    535         }
    536        
    537         public bool DeleteUser(System.Guid id)
    538         {
    539             return base.Channel.DeleteUser(id);
    540         }
    541        
    542         public bool UpdateUser(HeuristicLab.Services.Authentication.User user)
    543         {
    544             return base.Channel.UpdateUser(user);
    545         }
    546        
    547         public bool AddUserToRole(System.Guid roleId, System.Guid userId)
    548         {
    549             return base.Channel.AddUserToRole(roleId, userId);
    550         }
    551        
    552         public System.Guid[] GetUsersInRole(System.Guid roleId)
    553         {
    554             return base.Channel.GetUsersInRole(roleId);
    555         }
    556        
    557         public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId)
    558         {
    559             return base.Channel.RemoveUserFromRole(roleId, userId);
    560         }
    561        
    562         public bool IsUserInRole(System.Guid userId, System.Guid roleId)
    563         {
    564             return base.Channel.IsUserInRole(userId, roleId);
    565         }
    566        
    567         public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id)
    568         {
    569             return base.Channel.GetRole(id);
    570         }
    571        
    572         public HeuristicLab.Services.Authentication.Role[] GetAllRoles()
    573         {
    574             return base.Channel.GetAllRoles();
    575         }
    576        
    577         public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId)
    578         {
    579             return base.Channel.GetRoles(applicationId);
    580         }
    581        
    582         public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role)
    583         {
    584             return base.Channel.AddRole(role);
    585         }
    586        
    587         public bool UpdateRole(HeuristicLab.Services.Authentication.Role role)
    588         {
    589             return base.Channel.UpdateRole(role);
    590         }
    591        
    592         public bool DeleteRole(System.Guid id)
    593         {
    594             return base.Channel.DeleteRole(id);
    595         }
    596        
    597         public System.Guid[] GetRolesForUser(System.Guid userId)
    598         {
    599             return base.Channel.GetRolesForUser(userId);
    600         }
    601        
    602         public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id)
    603         {
    604             return base.Channel.GetApplication(id);
    605         }
    606        
    607         public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application)
    608         {
    609             return base.Channel.AddApplication(application);
    610         }
    611        
    612         public bool DeleteApplication(System.Guid id)
    613         {
    614             return base.Channel.DeleteApplication(id);
    615         }
    616        
    617         public HeuristicLab.Services.Authentication.Application[] GetApplications()
    618         {
    619             return base.Channel.GetApplications();
    620         }
    621        
    622         public bool UpdateApplication(HeuristicLab.Services.Authentication.Application application)
    623         {
    624             return base.Channel.UpdateApplication(application);
    625         }
    626     }
     31namespace HeuristicLab.Services.Authentication {
     32  using System.Runtime.Serialization;
     33
     34
     35  [System.Diagnostics.DebuggerStepThroughAttribute()]
     36  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     37  [System.Runtime.Serialization.DataContractAttribute(Name = "AuthenticationItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
     38      "Transfer")]
     39  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
     40  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
     41  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
     42  public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
     43
     44    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
     45
     46    private string DescriptionField;
     47
     48    private System.Guid IdField;
     49
     50    private string NameField;
     51
     52    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
     53      get {
     54        return this.extensionDataField;
     55      }
     56      set {
     57        this.extensionDataField = value;
     58      }
     59    }
     60
     61    [System.Runtime.Serialization.DataMemberAttribute()]
     62    public string Description {
     63      get {
     64        return this.DescriptionField;
     65      }
     66      set {
     67        if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
     68          this.DescriptionField = value;
     69          this.RaisePropertyChanged("Description");
     70        }
     71      }
     72    }
     73
     74    [System.Runtime.Serialization.DataMemberAttribute()]
     75    public System.Guid Id {
     76      get {
     77        return this.IdField;
     78      }
     79      set {
     80        if ((this.IdField.Equals(value) != true)) {
     81          this.IdField = value;
     82          this.RaisePropertyChanged("Id");
     83        }
     84      }
     85    }
     86
     87    [System.Runtime.Serialization.DataMemberAttribute()]
     88    public string Name {
     89      get {
     90        return this.NameField;
     91      }
     92      set {
     93        if ((object.ReferenceEquals(this.NameField, value) != true)) {
     94          this.NameField = value;
     95          this.RaisePropertyChanged("Name");
     96        }
     97      }
     98    }
     99
     100    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
     101
     102
     103  }
     104
     105  [System.Diagnostics.DebuggerStepThroughAttribute()]
     106  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     107  [System.Runtime.Serialization.DataContractAttribute(Name = "Role", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
     108      "Transfer")]
     109  public partial class Role : HeuristicLab.Services.Authentication.AuthenticationItem {
     110
     111    private System.Guid ApplicationIdField;
     112
     113    [System.Runtime.Serialization.DataMemberAttribute()]
     114    public System.Guid ApplicationId {
     115      get {
     116        return this.ApplicationIdField;
     117      }
     118      set {
     119        if ((this.ApplicationIdField.Equals(value) != true)) {
     120          this.ApplicationIdField = value;
     121          this.RaisePropertyChanged("ApplicationId");
     122        }
     123      }
     124    }
     125  }
     126
     127  [System.Diagnostics.DebuggerStepThroughAttribute()]
     128  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     129  [System.Runtime.Serialization.DataContractAttribute(Name = "Application", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
     130      "Transfer")]
     131  public partial class Application : HeuristicLab.Services.Authentication.AuthenticationItem {
     132  }
     133
     134  [System.Diagnostics.DebuggerStepThroughAttribute()]
     135  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     136  [System.Runtime.Serialization.DataContractAttribute(Name = "User", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
     137      "Transfer")]
     138  public partial class User : HeuristicLab.Services.Authentication.AuthenticationItem {
     139
     140    private System.Guid ApplicationIdField;
     141
     142    private System.DateTime CreateDateField;
     143
     144    private string EmailField;
     145
     146    private bool IsApprovedField;
     147
     148    private bool IsLookedOutField;
     149
     150    private System.DateTime LastActivityDateField;
     151
     152    private System.DateTime LastLockoutDateField;
     153
     154    private System.DateTime LastLoginDateField;
     155
     156    private System.DateTime LastPasswordChangeDateField;
     157
     158    [System.Runtime.Serialization.DataMemberAttribute()]
     159    public System.Guid ApplicationId {
     160      get {
     161        return this.ApplicationIdField;
     162      }
     163      set {
     164        if ((this.ApplicationIdField.Equals(value) != true)) {
     165          this.ApplicationIdField = value;
     166          this.RaisePropertyChanged("ApplicationId");
     167        }
     168      }
     169    }
     170
     171    [System.Runtime.Serialization.DataMemberAttribute()]
     172    public System.DateTime CreateDate {
     173      get {
     174        return this.CreateDateField;
     175      }
     176      set {
     177        if ((this.CreateDateField.Equals(value) != true)) {
     178          this.CreateDateField = value;
     179          this.RaisePropertyChanged("CreateDate");
     180        }
     181      }
     182    }
     183
     184    [System.Runtime.Serialization.DataMemberAttribute()]
     185    public string Email {
     186      get {
     187        return this.EmailField;
     188      }
     189      set {
     190        if ((object.ReferenceEquals(this.EmailField, value) != true)) {
     191          this.EmailField = value;
     192          this.RaisePropertyChanged("Email");
     193        }
     194      }
     195    }
     196
     197    [System.Runtime.Serialization.DataMemberAttribute()]
     198    public bool IsApproved {
     199      get {
     200        return this.IsApprovedField;
     201      }
     202      set {
     203        if ((this.IsApprovedField.Equals(value) != true)) {
     204          this.IsApprovedField = value;
     205          this.RaisePropertyChanged("IsApproved");
     206        }
     207      }
     208    }
     209
     210    [System.Runtime.Serialization.DataMemberAttribute()]
     211    public bool IsLookedOut {
     212      get {
     213        return this.IsLookedOutField;
     214      }
     215      set {
     216        if ((this.IsLookedOutField.Equals(value) != true)) {
     217          this.IsLookedOutField = value;
     218          this.RaisePropertyChanged("IsLookedOut");
     219        }
     220      }
     221    }
     222
     223    [System.Runtime.Serialization.DataMemberAttribute()]
     224    public System.DateTime LastActivityDate {
     225      get {
     226        return this.LastActivityDateField;
     227      }
     228      set {
     229        if ((this.LastActivityDateField.Equals(value) != true)) {
     230          this.LastActivityDateField = value;
     231          this.RaisePropertyChanged("LastActivityDate");
     232        }
     233      }
     234    }
     235
     236    [System.Runtime.Serialization.DataMemberAttribute()]
     237    public System.DateTime LastLockoutDate {
     238      get {
     239        return this.LastLockoutDateField;
     240      }
     241      set {
     242        if ((this.LastLockoutDateField.Equals(value) != true)) {
     243          this.LastLockoutDateField = value;
     244          this.RaisePropertyChanged("LastLockoutDate");
     245        }
     246      }
     247    }
     248
     249    [System.Runtime.Serialization.DataMemberAttribute()]
     250    public System.DateTime LastLoginDate {
     251      get {
     252        return this.LastLoginDateField;
     253      }
     254      set {
     255        if ((this.LastLoginDateField.Equals(value) != true)) {
     256          this.LastLoginDateField = value;
     257          this.RaisePropertyChanged("LastLoginDate");
     258        }
     259      }
     260    }
     261
     262    [System.Runtime.Serialization.DataMemberAttribute()]
     263    public System.DateTime LastPasswordChangeDate {
     264      get {
     265        return this.LastPasswordChangeDateField;
     266      }
     267      set {
     268        if ((this.LastPasswordChangeDateField.Equals(value) != true)) {
     269          this.LastPasswordChangeDateField = value;
     270          this.RaisePropertyChanged("LastPasswordChangeDate");
     271        }
     272      }
     273    }
     274  }
     275
     276  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
     277  [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Services.Authentication.IAuthenticationService")]
     278  public interface IAuthenticationService {
     279
     280    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUser", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUserResponse")]
     281    HeuristicLab.Services.Authentication.User GetUser(System.Guid id);
     282
     283    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUsersResponse")]
     284    HeuristicLab.Services.Authentication.User[] GetUsers();
     285
     286    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUsersForApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUsersForApplicationResponse")]
     287    HeuristicLab.Services.Authentication.User[] GetUsersForApplication(System.Guid applicationId);
     288
     289    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddUser", ReplyAction = "http://tempuri.org/IAuthenticationService/AddUserResponse")]
     290    System.Guid AddUser(HeuristicLab.Services.Authentication.User user);
     291
     292    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction = "http://tempuri.org/IAuthenticationService/DeleteUserResponse")]
     293    void DeleteUser(System.Guid id);
     294
     295    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/UpdateUser", ReplyAction = "http://tempuri.org/IAuthenticationService/UpdateUserResponse")]
     296    void UpdateUser(HeuristicLab.Services.Authentication.User user);
     297
     298    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddUserToRole", ReplyAction = "http://tempuri.org/IAuthenticationService/AddUserToRoleResponse")]
     299    void AddUserToRole(System.Guid roleId, System.Guid userId);
     300
     301    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
     302    System.Guid[] GetUsersInRole(System.Guid roleId);
     303
     304    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction = "http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")]
     305    void RemoveUserFromRole(System.Guid roleId, System.Guid userId);
     306
     307    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/IsUserInRole", ReplyAction = "http://tempuri.org/IAuthenticationService/IsUserInRoleResponse")]
     308    bool IsUserInRole(System.Guid userId, System.Guid roleId);
     309
     310    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/ResetPassword", ReplyAction = "http://tempuri.org/IAuthenticationService/ResetPasswordResponse")]
     311    HeuristicLab.Services.Authentication.User ResetPassword(string applicationName, string userName, string password);
     312
     313    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRole", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRoleResponse")]
     314    HeuristicLab.Services.Authentication.Role GetRole(System.Guid id);
     315
     316    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRolesResponse")]
     317    HeuristicLab.Services.Authentication.Role[] GetRoles();
     318
     319    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRolesForApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRolesForApplicationResponse")]
     320    HeuristicLab.Services.Authentication.Role[] GetRolesForApplication(System.Guid applicationId);
     321
     322    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddRole", ReplyAction = "http://tempuri.org/IAuthenticationService/AddRoleResponse")]
     323    System.Guid AddRole(HeuristicLab.Services.Authentication.Role role);
     324
     325    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction = "http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
     326    void UpdateRole(HeuristicLab.Services.Authentication.Role role);
     327
     328    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/DeleteRole", ReplyAction = "http://tempuri.org/IAuthenticationService/DeleteRoleResponse")]
     329    void DeleteRole(System.Guid id);
     330
     331    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
     332    System.Guid[] GetRolesForUser(System.Guid userId);
     333
     334    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
     335    HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id);
     336
     337    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/AddApplicationResponse")]
     338    System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application);
     339
     340    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")]
     341    void DeleteApplication(System.Guid id);
     342
     343    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetApplications", ReplyAction = "http://tempuri.org/IAuthenticationService/GetApplicationsResponse")]
     344    HeuristicLab.Services.Authentication.Application[] GetApplications();
     345
     346    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/UpdateApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/UpdateApplicationResponse")]
     347    void UpdateApplication(HeuristicLab.Services.Authentication.Application application);
     348  }
     349
     350  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
     351  public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.IAuthenticationService, System.ServiceModel.IClientChannel {
     352  }
     353
     354  [System.Diagnostics.DebuggerStepThroughAttribute()]
     355  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
     356  public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Services.Authentication.IAuthenticationService>, HeuristicLab.Services.Authentication.IAuthenticationService {
     357
     358    public AuthenticationServiceClient() {
     359    }
     360
     361    public AuthenticationServiceClient(string endpointConfigurationName) :
     362      base(endpointConfigurationName) {
     363    }
     364
     365    public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) :
     366      base(endpointConfigurationName, remoteAddress) {
     367    }
     368
     369    public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
     370      base(endpointConfigurationName, remoteAddress) {
     371    }
     372
     373    public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
     374      base(binding, remoteAddress) {
     375    }
     376
     377    public HeuristicLab.Services.Authentication.User GetUser(System.Guid id) {
     378      return base.Channel.GetUser(id);
     379    }
     380
     381    public HeuristicLab.Services.Authentication.User[] GetUsers() {
     382      return base.Channel.GetUsers();
     383    }
     384
     385    public HeuristicLab.Services.Authentication.User[] GetUsersForApplication(System.Guid applicationId) {
     386      return base.Channel.GetUsersForApplication(applicationId);
     387    }
     388
     389    public System.Guid AddUser(HeuristicLab.Services.Authentication.User user) {
     390      return base.Channel.AddUser(user);
     391    }
     392
     393    public void DeleteUser(System.Guid id) {
     394      base.Channel.DeleteUser(id);
     395    }
     396
     397    public void UpdateUser(HeuristicLab.Services.Authentication.User user) {
     398      base.Channel.UpdateUser(user);
     399    }
     400
     401    public void AddUserToRole(System.Guid roleId, System.Guid userId) {
     402      base.Channel.AddUserToRole(roleId, userId);
     403    }
     404
     405    public System.Guid[] GetUsersInRole(System.Guid roleId) {
     406      return base.Channel.GetUsersInRole(roleId);
     407    }
     408
     409    public void RemoveUserFromRole(System.Guid roleId, System.Guid userId) {
     410      base.Channel.RemoveUserFromRole(roleId, userId);
     411    }
     412
     413    public bool IsUserInRole(System.Guid userId, System.Guid roleId) {
     414      return base.Channel.IsUserInRole(userId, roleId);
     415    }
     416
     417    public HeuristicLab.Services.Authentication.User ResetPassword(string applicationName, string userName, string password) {
     418      return base.Channel.ResetPassword(applicationName, userName, password);
     419    }
     420
     421    public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id) {
     422      return base.Channel.GetRole(id);
     423    }
     424
     425    public HeuristicLab.Services.Authentication.Role[] GetRoles() {
     426      return base.Channel.GetRoles();
     427    }
     428
     429    public HeuristicLab.Services.Authentication.Role[] GetRolesForApplication(System.Guid applicationId) {
     430      return base.Channel.GetRolesForApplication(applicationId);
     431    }
     432
     433    public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role) {
     434      return base.Channel.AddRole(role);
     435    }
     436
     437    public void UpdateRole(HeuristicLab.Services.Authentication.Role role) {
     438      base.Channel.UpdateRole(role);
     439    }
     440
     441    public void DeleteRole(System.Guid id) {
     442      base.Channel.DeleteRole(id);
     443    }
     444
     445    public System.Guid[] GetRolesForUser(System.Guid userId) {
     446      return base.Channel.GetRolesForUser(userId);
     447    }
     448
     449    public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id) {
     450      return base.Channel.GetApplication(id);
     451    }
     452
     453    public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application) {
     454      return base.Channel.AddApplication(application);
     455    }
     456
     457    public void DeleteApplication(System.Guid id) {
     458      base.Channel.DeleteApplication(id);
     459    }
     460
     461    public HeuristicLab.Services.Authentication.Application[] GetApplications() {
     462      return base.Channel.GetApplications();
     463    }
     464
     465    public void UpdateApplication(HeuristicLab.Services.Authentication.Application application) {
     466      base.Channel.UpdateApplication(application);
     467    }
     468  }
    627469}
  • branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/Role.cs

    r4962 r5257  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21using System;
    222using System.Collections.Generic;
    323using System.Linq;
    424using System.Text;
     25using HeuristicLab.Core;
     26using HeuristicLab.Common;
    527
    6 namespace HeuristicLab.Services.Authentication
    7 {
    8     public partial class Role
    9     {
     28namespace HeuristicLab.Services.Authentication {
     29  [Item("Role", "A role.")]
     30  public partial class Role {
     31    protected Role(Role original, Cloner cloner)
     32      : base(original, cloner) {
    1033
    11         //  IEnumerable<User> Users;
     34      ApplicationId = original.ApplicationId;
     35    }
    1236
     37    public Role() {
    1338    }
     39
     40    public override IDeepCloneable Clone(Cloner cloner) {
     41      return new Role(this, cloner);
     42    }
     43  }
    1444}
  • branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/User.cs

    r4962 r5257  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *                                                    d
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21using System;
    222using System.Collections.Generic;
    323using System.Linq;
    424using System.Text;
     25using HeuristicLab.Core;
     26using HeuristicLab.Common;
    527
    6 namespace HeuristicLab.Services.Authentication
    7 {
    8     public partial class User
    9     {
    10         // IEnumerable<Role> Roles
     28namespace HeuristicLab.Services.Authentication {
     29  [Item("User", "An user.")]
     30  public partial class User {
     31    protected User(User original, Cloner cloner)
     32      : base(original, cloner) {
    1133
     34      ApplicationId = original.ApplicationId;
     35      Email = original.Email;
     36      IsApproved = original.IsApproved;
     37      CreateDate = original.CreateDate;
     38      LastLoginDate = original.LastLoginDate;
     39      LastLockoutDate = original.LastLockoutDate;
    1240    }
     41
     42    public User() {
     43    }
     44
     45    public override IDeepCloneable Clone(Cloner cloner) {
     46      return new User(this, cloner);
     47    }
     48  }
    1349}
Note: See TracChangeset for help on using the changeset viewer.