-
I am evaluating CSLA.NET for an MVC project that I am working on. We would like to us MVC 4 but we are running into some issues with the Csla.ApplicationContext.User.IsInRole method and custom principals and identities. I have been working on a solution using the CSLA.NET 4.5.11 beta, but we have experienced...
-
Hello, Been developing an app for a few months now with a physical single tier mode and just now starting to try and get it to run in physical 3 tier mode. (Csla 3.8.3, .Net 3.5 SP1, Windows Server 2003 (IIS 6)) Windows Forms Smart Client WCF DataPortal hosted in IIS 6.0 SQL Server I was under the impression...
-
I want to disable the RemoveButton per Instance. In the sample (05-WpfSl-111028) the Removebutton in ProjectList View binding to ProjectList ViewModel's CanRemove: public new bool CanRemove { get { return Csla.Rules.BusinessRules.HasPermission(Csla.Rules.AuthorizationActions.DeleteObject, typeof...
-
I've gone through the examples. But I didn't understand to attach the rule to CustomIdentity class. I'm using the CustomMembershipProvider. And I'm unable to access the properties of my Identity class using Csla.ApplicationContext.User.Identity. My Identity class code using System; using...
-
Hi, I'm just learning CSLA and have a decent grasp on how to use it but I am having an issue with the custom membership portion. I am trying to implement a password recovery page and once the user inputs their user name, as per standard functionality, the PasswordRecovery control calls the GetUser...
-
Hi all: Please I need help one more time. I needed to make some changes and additions to my Identity class and I thought everything was ok. I need to add 2 properties to the identity and those properties will be set by the UI during login process. So I changed from ReadOnlyBase to BussinessBase class...
-
I have the visibility of my StackPanel dependant on the results of CanRead using a PropertyStatus like so: <StackPanel Orientation="Horizontal" Margin="5,5,5,5" Visibility="{Binding ElementName=SSNPropertyStatus, Path=CanRead, Converter={StaticResource VisibilityConverter...
-
I have implemented custom security model that has the option to restrict users to certain records. The model ask for which business object (ie customer, vendor, auditor) and which record (ie the guid of the record). I am now trying to implement the Get function. I was hoping to use the property that...
-
I have implemented a "claims-based" authorization approach using the CSLA 4 authorization objects. I am trying to unit test the various relationships at the object level between what is requested and what is authorized for object CRUD operations. In each test method, I am setting up the rule...
-
I am investigating how to do custom authentication in my CSLA application. I understand that the Principal object is passed from client to server (and back) on every request. What I don't understand is, assuming a login has taken place and the Principal/Identity is marked as authenticated, why the...
-
Hi I'm using custom authentication in an WPF/VSTO application. I've implemented a custom principal and a custom identity. I'm using Csla.ApplicationContext.User to store the identity etc. I a have a main window in which I login, i.e. create the custom principal and so on. Inside one control...