Wednesday, July 10, 2013

Auto authentication + rememberme for your XAF web apps coming

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

If you like to see this feature in embedded in XAF please track http://www.devexpress.com/Support/Center/Question/Details/S171787

Subscribe to XAF feed
Subscribe to community feed

DiggIt!

0 comments:

Post a Comment