New Posts New Posts RSS Feed: [Resolved]Forms Authentication
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

[Resolved]Forms Authentication

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: [Resolved]Forms Authentication
    Posted: 07-Feb-2008 at 9:51am
I am using forms authentication. When I try and cancel at the login screen I would like to close the app. The problem is that everytime I do, Application.Exit, it continues to try and do authentication and throws an error.
 
Also, when an invalid login occurs in continues on to the app and just doesn't show pages that the user is not a member of.  The problem I have found is that the credentials are always authenticated. And I can't set the authentication myself.
 
 
Any help/direction would be great.


Edited by orcities - 11-Feb-2008 at 1:00pm
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 08-Feb-2008 at 11:43am

Credential gathering and authentication should be implemented in your AppAuthenticationService in the Foundation module.  If the login fails or is canceled, you should throw a specific exception type.  You'll then need to handle that exception type in your ShellApplication.

The default server-side LoginManager (in the Model project) contains code that translates logins if the DEBUG compile flag is set.  This might be causing unknown users to login as "guest".
 
Bill J.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down