Παρουσίαση με Ετικέτες

Auto authentication + rememberme for your XAF web apps coming
10 Ιουλίου 13 03:24 μμ | tolisss | 0 σχόλια   

In next version 13.1.5.2 of eXpandframework there is a new Security module for web (Xpand.ExpressApp.Security.Web.dll) that can automatically logon using forms authentication. It is based on the CanAutomaticallyLogonWithStoredLogonParameters functionality of XAF web apps.

Installation

To use it simply install the Xpand.ExpressApp.Security and use the XpandLogonParameters object in your authentication type

image

To enable this functionality as usual we need to use XAF’s Application Model editor.

image

As you can see in the image above it is possible to control the ticket expiration as well.

By default XpandLogonParameters will render a RememberMe checkbox

image

However again using Model Editor we can simply remove the RememberMe PropertyEditor and the auto authentication will work for any user logged in last!

image 

Happy XAFing to everyone! and do not forget your input in our forums http://www.expandframework.com/forum/11-news/3452-auto-authenticate-and-remember-me.html#4007

P.S.: Here is the related code in our github repo http://goo.gl/XfIPC

Δημοσίευση στην κατηγορία: , , ,
Saving settings to database instead of cookies
14 Οκτωβρίου 09 01:14 μμ | tolisss | 0 σχόλια   
  THE PROBLEM –> HTTP 400 Bad Request (The data is invalid) Xaf provides peristent of your web listview setting to cookies using Options | SaveListViewStateInCookies attribute in the Application Model. But due to the limit in request buffer size of IIS your web browser will receive a HTTP 400 Bad Request (The data is invalid) when you overcome it. DevExrpess suggest you either persist individual listviews in order you never overcome that limit or as Microsoft also suggested here to add a registry value to raize that limit. SOLUTION ModelDifference module provides the Options | SaveListViewStateInDataStore that can persist your listview settings to your user model and thus to the database and since your model is persistent also at database Technorati Tags:

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , ,

Search

Go

Το Ιστολόγιο

Ιστορικό Δημοσιεύσεων

Συνδρομές