New Posts New Posts RSS Feed: Enforce login
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Enforce login

 Post Reply Post Reply
Author
alexander View Drop Down
Newbie
Newbie


Joined: 13-Feb-2012
Posts: 10
Post Options Post Options   Quote alexander Quote  Post ReplyReply Direct Link To This Post Topic: Enforce login
    Posted: 13-Feb-2012 at 2:37am
I want to make a Silverlight application, so I started using the "DevForce Silverlight Business Application". I noticed that when I launch this application, it takes me to these Home and About pages, with a login link.

In my application, I want to force people to log in, no matter which "page" in my Silverlight they are visiting. I have my own ideas on how to accomplish this, but they all seem like more work than should be strictly necessary (e.g. checking the authentication status on every page and redirecting to a login page if the check fails -- even more work because SL is async.)

What is the best way to accomplish this? Is there a setting I can turn on? Your http://drc.ideablade.com/xwiki/bin/view/Documentation/authorize documentation only speak about how to authorize for the model, not how to authorize for the view.
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 16-Feb-2012 at 11:30am
Hi Alexander,
 
Unfortunatelly, DevForce does not have a setting where you could force login upon a view.
I think your approach of checking authentication status on each page and taking appropriate action might be the route to take.
I also found some articles at:
and
 
that might shed some light.
 
Regards,
   Silvio.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down